# วิธีแลกคูปองของ shopeepay (แบบ topup อัตโนมัติ)

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

```postman_json
{
  "partner_id": "{{partner-id}}",
  "employee_id": 3607,
  "product_id": 368
}
```

• นำข้อมูล 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%2F9DJwxdyfdrDFvfhjG0Ym%2Fimage.png?alt=media&#x26;token=b8821154-deea-4fb3-9f9a-761bb39beeb3" 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%2FzwcY3l4aw1WQHLjZXwmm%2Fimage.png?alt=media&#x26;token=1a2cbaa4-ee56-40a8-bc96-51cc0336ea1c" 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%2FZTVGXQa2gWu9JRLM7TeI%2Fimage.png?alt=media&#x26;token=c6f49db1-41e4-43fe-9d60-15033984df8c" alt=""><figcaption><p>ไม่มี User อยู่ในระบบและแลก product ไม่สำเร็จ</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.wellexp.co/api-manual/shopeepay-topup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
