> For the complete documentation index, see [llms.txt](https://guide.wellexp.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.wellexp.co/api-manual/shopeepay.md).

# วิธีแลกคูปองของ shopeepay (แบบปกติ)

• เข้าที่ Folder "Redeem"\
• เลือก sub folder "redeem shopeepay"\
• เลือก tab menu "Body"\
• นำ request มาใส่

```postman_json
{
  "partner_id": "{{partner-id}}",
  "employee_id": 14647,
  "product_id": 388
}
```

• นำข้อมูล id ของพนักงาน ที่ต้องการแลก มาใส่ในส่วนของ "employee\_id"\
• นำข้อมูล id ของ product ที่ต้องการแลก มาใส่ในส่วนของ "product\_id"\
• กด "Send"

<figure><img src="https://370262940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuB10O1BE5VHQ0rSAzqK4%2Fuploads%2FvqiQuGOPt0ykSV7RpFi4%2Fimage.png?alt=media&amp;token=be1f1a91-aeb5-4eca-a1d3-1bdeced45b74" alt=""><figcaption><p>นำข้อมูล มาใส่</p></figcaption></figure>

ในกรณีที่มี User อยู่ในระบบและแลก product สำเร็จ จะมีข้อความ  Response ดังภาพด้านล่าง

<figure><img src="https://370262940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuB10O1BE5VHQ0rSAzqK4%2Fuploads%2FaBv9UvulhUHfMdBmdlz2%2Fimage.png?alt=media&amp;token=c648f190-fe97-47d2-859a-7be05e263faa" alt=""><figcaption><p>มี User อยู่ในระบบและแลก product สำเร็จ</p></figcaption></figure>

ในกรณีที่ไม่มี User อยู่ในระบบและแลก product ไม่สำเร็จ จะมีข้อความ  Response ดังภาพด้านล่าง

<figure><img src="https://370262940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuB10O1BE5VHQ0rSAzqK4%2Fuploads%2FGP1R63bdhPhCTVNtgfx8%2Fimage.png?alt=media&amp;token=53b3a39a-d4d3-46e9-b880-0668f0733036" alt=""><figcaption><p>ไม่มี User อยู่ในระบบและแลก product ไม่สำเร็จ</p></figcaption></figure>
