Shop
get/v1/shop/meสิทธิ์ shop.read
The calling key: shop, scopes and rate limit
ตัวอย่างคำตอบ 200
{
"shop": {
"id": "string",
"shopSlug": "string",
"shopName": "string",
"status": "OPEN"
},
"key": {
"id": "string",
"name": "string",
"prefix": "odx_live_aB3dE9f",
"environment": "live",
"scopes": [
"shop.read"
]
},
"rateLimit": {
"requestsPerMinute": 120
}
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/profileสิทธิ์ shop.read
Your shop profile and dashboard figures
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
patch/v1/shop/profileสิทธิ์ shop.write
Change name, bio, avatar or banner
พารามิเตอร์
Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"shopName": "string",
"bio": {
"th": "string",
"en": "string"
},
"avatarId": "string",
"bannerId": "string"
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
put/v1/shop/business-hoursสิทธิ์ shop.write
Set opening hours (null clears them)
พารามิเตอร์
Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"businessHours": "string"
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/vacationสิทธิ์ shop.write
Take a break until a date
พารามิเตอร์
Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"until": "2026-10-01T12:00:00.000Z"
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
delete/v1/shop/vacationสิทธิ์ shop.write
End the break now
พารามิเตอร์
Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/analyticsสิทธิ์ analytics.read
Views, sales and conversion
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
Chat
get/v1/shop/quick-repliesสิทธิ์ chat.read
Your saved quick replies
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/quick-repliesสิทธิ์ chat.write
Save a quick reply
พารามิเตอร์
Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"title": "string",
"body": "string"
}
201 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
delete/v1/shop/quick-replies/{id}สิทธิ์ chat.write
Delete a quick reply
พารามิเตอร์
idpath · จำเป็นstringIdempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/chatsสิทธิ์ chat.read
Your chats with the latest message and unread count
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/orders/{code}/chatสิทธิ์ chat.read
An order's chat, older pages with before
พารามิเตอร์
codepath · จำเป็น^OM[0-9A-Z]{10}$beforequerystring
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/orders/{code}/chat/messagesสิทธิ์ chat.write
Send a message in an order chat
พารามิเตอร์
codepath · จำเป็น^OM[0-9A-Z]{10}$Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"clientId": "string",
"body": "string",
"attachmentIds": [
"string"
]
}
201 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/orders/{code}/chat/readสิทธิ์ chat.write
Mark the chat read up to a time
พารามิเตอร์
codepath · จำเป็น^OM[0-9A-Z]{10}$Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"at": "2026-10-01T12:00:00.000Z"
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/inquiries/{id}สิทธิ์ chat.read
A question from a buyer before buying
พารามิเตอร์
idpath · จำเป็นstringbeforequerystring
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/inquiries/{id}/messagesสิทธิ์ chat.write
Answer a question
พารามิเตอร์
idpath · จำเป็นstringIdempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"clientId": "string",
"body": "string",
"attachmentIds": [
"string"
]
}
201 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/inquiries/{id}/readสิทธิ์ chat.write
Mark a question read
พารามิเตอร์
idpath · จำเป็นstringIdempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"at": "2026-10-01T12:00:00.000Z"
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
Listings
get/v1/shop/listingsสิทธิ์ listings.read
All your listings
ตัวอย่างคำตอบ 200
[
{
"shortId": "string",
"status": "DRAFT",
"title": {
"en": "Genshin Impact AR 58",
"th": "ไอดี Genshin AR 58"
},
"type": "TOPUP",
"deliveryMode": "AUTO",
"priceTh": {
"amount": "35500",
"currency": "THB"
},
"priceIntl": {
"amount": "35500",
"currency": "THB"
},
"price": "string",
"priceThCustom": false,
"quantityAvailable": 1,
"imageUrl": "string",
"salesCount": 1,
"moderationNote": "string",
"updatedAt": "2026-10-01T12:00:00.000Z"
}
]
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/listingsสิทธิ์ listings.write
Create a listing (a draft until you submit it)
พารามิเตอร์
Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"categoryFullSlug": "genshin-impact/accounts/all/general",
"topupMode": "DIRECT",
"type": "TOPUP",
"deliveryMode": "AUTO",
"title": {
"en": "Genshin Impact AR 58",
"th": "ไอดี Genshin AR 58"
},
"description": {
"en": "Genshin Impact AR 58",
"th": "ไอดี Genshin AR 58"
},
"price": {
"currency": "THB",
"amount": "string"
},
"quantity": 0,
"imageIds": [
"string"
],
"attributes": {}
}
201 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/listings/{shortId}สิทธิ์ listings.read
One listing with everything you can edit
พารามิเตอร์
shortIdpath · จำเป็น^[A-Za-z0-9]{4,12}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)404 Not a listing of your shop (LISTING_NOT_FOUND)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
put/v1/shop/listings/{shortId}สิทธิ์ listings.write
Replace a listing
พารามิเตอร์
shortIdpath · จำเป็น^[A-Za-z0-9]{4,12}$Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"categoryFullSlug": "genshin-impact/accounts/all/general",
"topupMode": "DIRECT",
"type": "TOPUP",
"deliveryMode": "AUTO",
"title": {
"en": "Genshin Impact AR 58",
"th": "ไอดี Genshin AR 58"
},
"description": {
"en": "Genshin Impact AR 58",
"th": "ไอดี Genshin AR 58"
},
"price": {
"currency": "THB",
"amount": "string"
},
"quantity": 0,
"imageIds": [
"string"
],
"attributes": {}
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)404 Not a listing of your shop (LISTING_NOT_FOUND)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
patch/v1/shop/listings/{shortId}สิทธิ์ listings.write
Change price, quantity or pause
พารามิเตอร์
shortIdpath · จำเป็น^[A-Za-z0-9]{4,12}$Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"price": {
"currency": "THB",
"amount": "string"
},
"priceTh": "string",
"priceIntl": "string",
"quantity": 0,
"paused": false
}
ตัวอย่างคำตอบ 200
{
"shortId": "string",
"status": "string",
"quantityAvailable": 1
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)404 Not a listing of your shop (LISTING_NOT_FOUND)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
delete/v1/shop/listings/{shortId}สิทธิ์ listings.write
Remove a listing
พารามิเตอร์
shortIdpath · จำเป็น^[A-Za-z0-9]{4,12}$Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/pricingสิทธิ์ listings.read
Price rules for your shop: currencies, limits and fees
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/listings/{shortId}/submitสิทธิ์ listings.write
Send a draft for review (or live, when your shop may skip review)
พารามิเตอร์
shortIdpath · จำเป็น^[A-Za-z0-9]{4,12}$Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/listings/{shortId}/duplicateสิทธิ์ listings.write
Copy a listing as a new draft
พารามิเตอร์
shortIdpath · จำเป็น^[A-Za-z0-9]{4,12}$Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
201 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/listings/bulkสิทธิ์ listings.write
Pause, resume or change the price of up to 200 listings
พารามิเตอร์
Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"shortIds": [
"string"
],
"action": "pause",
"percent": -50
}
ตัวอย่างคำตอบ 200
{
"done": [
"string"
],
"failed": [
{
"shortId": "string",
"code": "string"
}
]
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
Uploads
post/v1/shop/uploadsสิทธิ์ listings.write
Start an upload; send the file to the returned URL, then complete it. The scope follows the purpose: listings.write, orders.fulfill, chat.write or shop.write
พารามิเตอร์
Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"purpose": "LISTING_IMAGE",
"contentType": "string",
"size": 1,
"orderId": "string"
}
201 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/uploads/{id}/completeสิทธิ์ listings.write
Finish an upload after the file was sent
พารามิเตอร์
idpath · จำเป็นstringIdempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
Promotions
get/v1/shop/bumpsสิทธิ์ promotions.read
Bumps left today
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/listings/{shortId}/bumpสิทธิ์ promotions.write
Bump a listing to the top of its list
พารามิเตอร์
shortIdpath · จำเป็น^[A-Za-z0-9]{4,12}$Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/featuredสิทธิ์ promotions.read
Featured places: packages, yours and their state
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/featuredสิทธิ์ promotions.spend
Book a featured place with shop credit (off unless enabled for your shop); a code is emailed to the key owner
พารามิเตอร์
Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"shortId": "string",
"packageId": "string",
"currency": "THB"
}
201 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/featured/{id}/confirmสิทธิ์ promotions.spend
Confirm a booking with the emailed code
พารามิเตอร์
idpath · จำเป็นstringIdempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
Stock
get/v1/shop/stockสิทธิ์ stock.read
Stock of every automatic-delivery listing (counts, never the codes)
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/listings/{shortId}/stockสิทธิ์ stock.read
Units of one listing with masked hints
พารามิเตอร์
shortIdpath · จำเป็น^[A-Za-z0-9]{4,12}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)404 Not a listing of your shop (LISTING_NOT_FOUND)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/listings/{shortId}/stockสิทธิ์ stock.write
Add codes or accounts (up to 200 per call)
พารามิเตอร์
shortIdpath · จำเป็น^[A-Za-z0-9]{4,12}$Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"items": [
"string"
]
}
201 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)404 Not a listing of your shop (LISTING_NOT_FOUND)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
delete/v1/shop/listings/{shortId}/stock/{id}สิทธิ์ stock.write
Take back one unsold unit
พารามิเตอร์
shortIdpath · จำเป็น^[A-Za-z0-9]{4,12}$idpath · จำเป็นstringIdempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
Orders
get/v1/shop/ordersสิทธิ์ orders.read
Orders, newest first, in pages
พารามิเตอร์
statusqueryPAID | DELIVERED | COMPLETED | DISPUTED | REFUNDEDcursorquery^OM[0-9A-Z]{10}$limitquery1-100 (50)
ตัวอย่างคำตอบ 200
{
"items": [
{
"code": "string",
"status": "string",
"subtotal": {
"amount": "35500",
"currency": "THB"
},
"commission": {
"amount": "35500",
"currency": "THB"
},
"createdAt": "2026-10-01T12:00:00.000Z",
"paidAt": "2026-10-01T12:00:00.000Z",
"deliveredAt": "2026-10-01T12:00:00.000Z",
"completedAt": "2026-10-01T12:00:00.000Z",
"autoConfirmAt": "2026-10-01T12:00:00.000Z",
"items": [
{
"shortId": "string",
"title": {
"en": "Genshin Impact AR 58",
"th": "ไอดี Genshin AR 58"
},
"quantity": 1,
"unitPrice": {
"amount": null,
"currency": null
}
}
]
}
],
"nextCursor": "string"
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/orders/{code}สิทธิ์ orders.read
One order
พารามิเตอร์
codepath · จำเป็น^OM[0-9A-Z]{10}$
ตัวอย่างคำตอบ 200
{
"code": "string",
"status": "string",
"subtotal": {
"amount": "35500",
"currency": "THB"
},
"commission": {
"amount": "35500",
"currency": "THB"
},
"createdAt": "2026-10-01T12:00:00.000Z",
"paidAt": "2026-10-01T12:00:00.000Z",
"deliveredAt": "2026-10-01T12:00:00.000Z",
"completedAt": "2026-10-01T12:00:00.000Z",
"autoConfirmAt": "2026-10-01T12:00:00.000Z",
"items": [
{
"shortId": "string",
"title": {
"en": "Genshin Impact AR 58",
"th": "ไอดี Genshin AR 58"
},
"quantity": 1,
"unitPrice": {
"amount": "35500",
"currency": "THB"
}
}
]
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)404 Not an order of your shop (ORDER_NOT_FOUND)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/orders/{code}/deliverสิทธิ์ orders.fulfill
Mark a manual order delivered, with evidence uploads
พารามิเตอร์
codepath · จำเป็น^OM[0-9A-Z]{10}$Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"evidenceIds": [
"string"
]
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)404 Not an order of your shop (ORDER_NOT_FOUND)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/orders/{code}/cancelสิทธิ์ orders.fulfill
Cancel a paid order you cannot fulfil (the buyer is refunded)
พารามิเตอร์
codepath · จำเป็น^OM[0-9A-Z]{10}$Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/orders/{code}/cancel-request/answerสิทธิ์ orders.fulfill
Answer the buyer's cancel request
พารามิเตอร์
codepath · จำเป็น^OM[0-9A-Z]{10}$Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"accept": false,
"answer": "string"
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
Disputes
get/v1/shop/disputesสิทธิ์ disputes.read
Open and recent disputes and warranty claims
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/orders/{code}/disputeสิทธิ์ disputes.read
The dispute on one order
พารามิเตอร์
codepath · จำเป็น^OM[0-9A-Z]{10}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)404 Not an order of your shop (ORDER_NOT_FOUND)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/orders/{code}/dispute/appealสิทธิ์ disputes.write
Appeal a ruling once, within the appeal window
พารามิเตอร์
codepath · จำเป็น^OM[0-9A-Z]{10}$Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
201 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/orders/{code}/warranty-claims/{id}/resolveสิทธิ์ disputes.write
Answer a warranty claim: replace, refund or ask for help
พารามิเตอร์
codepath · จำเป็น^OM[0-9A-Z]{10}$idpath · จำเป็นstringIdempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"action": "REPLACE",
"note": "string"
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
Finance
get/v1/shop/balancesสิทธิ์ finance.read
Shop credit: available, held and pending, per currency
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/statementสิทธิ์ finance.read
Every credit movement, newest first
พารามิเตอร์
currencyqueryTHB | USDpagequery1-1000 (1)
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/withdrawalsสิทธิ์ finance.withdraw
Ask for a withdrawal (off unless enabled for your shop). Nothing moves until the shop owner confirms it in the Seller Center with an emailed code
พารามิเตอร์
Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"currency": "THB",
"amount": "string",
"payoutAccountId": "string"
}
ตัวอย่างคำตอบ 201
{
"id": "string",
"status": "PENDING_OWNER",
"currency": "THB",
"amount": "string",
"payoutAccountId": "string",
"withdrawalId": "string",
"expiresAt": "2026-10-01T12:00:00.000Z",
"createdAt": "2026-10-01T12:00:00.000Z"
}
201 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/withdrawalsสิทธิ์ finance.read
Withdrawal requests made through the API
ตัวอย่างคำตอบ 200
[
{
"id": "string",
"status": "PENDING_OWNER",
"currency": "THB",
"amount": "string",
"payoutAccountId": "string",
"withdrawalId": "string",
"expiresAt": "2026-10-01T12:00:00.000Z",
"createdAt": "2026-10-01T12:00:00.000Z"
}
]
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
Webhooks
get/v1/shop/webhooksสิทธิ์ webhooks.manage
Your webhooks
ตัวอย่างคำตอบ 200
[
{
"id": "string",
"url": "string",
"events": [
"string"
],
"isActive": false,
"disabledReason": "FAILURES",
"lastDeliveryAt": "2026-10-01T12:00:00.000Z",
"lastStatus": 1
}
]
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/webhooksสิทธิ์ webhooks.manage
Add a webhook; the signing secret is returned once
พารามิเตอร์
Idempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"url": "https://hooks.your-shop.example/odinmax",
"events": [
"order.created"
]
}
ตัวอย่างคำตอบ 201
{
"id": "string",
"secret": "whsec_..."
}
201 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
patch/v1/shop/webhooks/{id}สิทธิ์ webhooks.manage
Change the address or the events
พารามิเตอร์
idpath · จำเป็นstringIdempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
ตัวอย่างข้อมูลที่ส่ง
{
"url": "https://hooks.your-shop.example/odinmax",
"events": [
"order.created"
]
}
ตัวอย่างคำตอบ 200
{
"id": "string",
"url": "string",
"events": [
"string"
],
"isActive": false,
"disabledReason": "FAILURES",
"lastDeliveryAt": "2026-10-01T12:00:00.000Z",
"lastStatus": 1
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
delete/v1/shop/webhooks/{id}สิทธิ์ webhooks.manage
Delete a webhook
พารามิเตอร์
idpath · จำเป็นstringIdempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/webhooks/{id}/enableสิทธิ์ webhooks.manage
Turn a webhook back on after failures
พารามิเตอร์
idpath · จำเป็นstringIdempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/webhooks/{id}/testสิทธิ์ webhooks.manage
Send a ping now (5 a minute)
พารามิเตอร์
idpath · จำเป็นstringIdempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/webhook-deliveriesสิทธิ์ webhooks.manage
Delivery history of the last 30 days, newest first
พารามิเตอร์
webhookIdquerystringstatusqueryPENDING | DELIVERED | FAILEDeventqueryorder.created | order.paid | order.delivered | order.completed | order.cancelled | order.refunded | dispute.opened | dispute.updated | dispute.resolved | warranty.claimed | chat.message | review.created | listing.approved | listing.rejected | listing.out_of_stock | stock.low | payout.paid | payout.failed | shop.restricted | shop.reinstated | api_key.revokedcursorquerystringlimitquery1-100 (50)
ตัวอย่างคำตอบ 200
{
"items": [
{
"id": "string",
"webhookId": "string",
"event": "order.created",
"eventId": "string",
"status": "PENDING",
"attempts": 1,
"lastStatus": 1,
"lastError": "string",
"nextAttemptAt": "2026-10-01T12:00:00.000Z",
"deliveredAt": "2026-10-01T12:00:00.000Z",
"createdAt": "2026-10-01T12:00:00.000Z"
}
],
"nextCursor": "string"
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
get/v1/shop/webhook-deliveries/{id}สิทธิ์ webhooks.manage
One delivery with the body that was sent
ตัวอย่างคำตอบ 200
{
"id": "string",
"webhookId": "string",
"event": "order.created",
"eventId": "string",
"status": "PENDING",
"attempts": 1,
"lastStatus": 1,
"lastError": "string",
"nextAttemptAt": "2026-10-01T12:00:00.000Z",
"deliveredAt": "2026-10-01T12:00:00.000Z",
"createdAt": "2026-10-01T12:00:00.000Z"
}
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
post/v1/shop/webhook-deliveries/{id}/redeliverสิทธิ์ webhooks.manage
Send a delivery again (10 a minute)
พารามิเตอร์
idpath · จำเป็นstringIdempotency-Keyheader · จำเป็น^[A-Za-z0-9_.:-]{1,255}$
200 Done. A repeated write with the same Idempotency-Key returns this answer again with the header idempotent-replayed: true400 Invalid body (VALIDATION_FAILED), or the Idempotency-Key header is missing or malformed (IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID)401 Missing, unknown, revoked or expired key (API_KEY_INVALID, API_KEY_EXPIRED), or a key of the other environment (API_KEY_WRONG_ENVIRONMENT)403 The key lacks the scope (API_SCOPE_MISSING), the shop may not give it (API_SCOPE_NOT_ALLOWED), the person who made the key lost that permission (API_KEY_CREATOR_FORBIDDEN), the address is not on the key's list (API_KEY_IP_DENIED), API access is not approved or paused (API_ACCESS_NOT_APPROVED, SHOP_API_SUSPENDED), or the shop is restricted or paused (SHOP_RESTRICTED, SHOP_PAUSED)409 The same Idempotency-Key is still being handled (IDEMPOTENCY_IN_PROGRESS), or the change is not possible now (the code says why)422 The Idempotency-Key was used for a different request (IDEMPOTENCY_KEY_REUSED)429 Rate limited (RATE_LIMITED): per key by your shop rank (120 a minute to start), all keys of a shop together 5 times that, 300 a minute per address503 The API is paused for maintenance (API_DISABLED) or answers reads only for now (API_READ_ONLY)
Older endpoints
get/v1/public/listingsสิทธิ์ listings.read
List your listings
ตัวอย่างคำตอบ 200
[
{
"shortId": "string",
"status": "DRAFT",
"title": {
"en": "Genshin Impact AR 58",
"th": "ไอดี Genshin AR 58"
},
"type": "TOPUP",
"deliveryMode": "AUTO",
"priceTh": {
"amount": "35500",
"currency": "THB"
},
"priceIntl": {
"amount": "35500",
"currency": "THB"
},
"price": "string",
"priceThCustom": false,
"quantityAvailable": 1,
"imageUrl": "string",
"salesCount": 1,
"moderationNote": "string",
"updatedAt": "2026-10-01T12:00:00.000Z"
}
]
200 All listings of the shop401 Missing or unknown key403 Key lacks the scope, or the shop is restricted (SHOP_RESTRICTED) or paused for writes (SHOP_PAUSED)429 Rate limited: per key by your shop rank (120 a minute to start), 5 times that per shop, 300 per IP
patch/v1/public/listings/{shortId}สิทธิ์ listings.write
Change price, quantity or pause a listing
พารามิเตอร์
shortIdpath · จำเป็น^[A-Za-z0-9]{4,12}$
ตัวอย่างข้อมูลที่ส่ง
{
"price": {
"currency": "THB",
"amount": "string"
},
"priceTh": "string",
"priceIntl": "string",
"quantity": 0,
"paused": false
}
ตัวอย่างคำตอบ 200
{
"shortId": "string",
"status": "string",
"quantityAvailable": 1
}
200 Updated400 Invalid body (VALIDATION_FAILED)401 Missing or unknown key403 Key lacks the scope, or the shop is restricted (SHOP_RESTRICTED) or paused for writes (SHOP_PAUSED)404 Not your listing (LISTING_NOT_FOUND)429 Rate limited: per key by your shop rank (120 a minute to start), 5 times that per shop, 300 per IP
post/v1/public/listings/{shortId}/stockสิทธิ์ stock.write
Add delivery codes to an automatic-delivery listing
พารามิเตอร์
shortIdpath · จำเป็น^[A-Za-z0-9]{4,12}$
ตัวอย่างข้อมูลที่ส่ง
{
"codes": [
"string"
]
}
201 Codes added (duplicates in the request are counted once)400 Invalid body (VALIDATION_FAILED)401 Missing or unknown key403 Key lacks the scope, or the shop is restricted (SHOP_RESTRICTED) or paused for writes (SHOP_PAUSED)404 Not your listing (LISTING_NOT_FOUND)409 Not an automatic-delivery listing (STOCK_NOT_AUTO)429 Rate limited: per key by your shop rank (120 a minute to start), 5 times that per shop, 300 per IP
get/v1/public/ordersสิทธิ์ orders.read
List orders, newest first
พารามิเตอร์
statusqueryPAID | DELIVERED | COMPLETED | DISPUTED | REFUNDEDlimitquery1-100 (50)
ตัวอย่างคำตอบ 200
[
{
"code": "string",
"status": "string",
"subtotal": {
"amount": "35500",
"currency": "THB"
},
"commission": {
"amount": "35500",
"currency": "THB"
},
"createdAt": "2026-10-01T12:00:00.000Z",
"paidAt": "2026-10-01T12:00:00.000Z",
"deliveredAt": "2026-10-01T12:00:00.000Z",
"completedAt": "2026-10-01T12:00:00.000Z",
"autoConfirmAt": "2026-10-01T12:00:00.000Z",
"items": [
{
"shortId": "string",
"title": {
"en": "Genshin Impact AR 58",
"th": "ไอดี Genshin AR 58"
},
"quantity": 1,
"unitPrice": {
"amount": "35500",
"currency": "THB"
}
}
]
}
]
200 Orders401 Missing or unknown key403 Key lacks the scope, or the shop is restricted (SHOP_RESTRICTED) or paused for writes (SHOP_PAUSED)429 Rate limited: per key by your shop rank (120 a minute to start), 5 times that per shop, 300 per IP
get/v1/public/orders/{code}สิทธิ์ orders.read
One order
พารามิเตอร์
codepath · จำเป็น^[A-Z0-9-]{4,24}$
ตัวอย่างคำตอบ 200
{
"code": "string",
"status": "string",
"subtotal": {
"amount": "35500",
"currency": "THB"
},
"commission": {
"amount": "35500",
"currency": "THB"
},
"createdAt": "2026-10-01T12:00:00.000Z",
"paidAt": "2026-10-01T12:00:00.000Z",
"deliveredAt": "2026-10-01T12:00:00.000Z",
"completedAt": "2026-10-01T12:00:00.000Z",
"autoConfirmAt": "2026-10-01T12:00:00.000Z",
"items": [
{
"shortId": "string",
"title": {
"en": "Genshin Impact AR 58",
"th": "ไอดี Genshin AR 58"
},
"quantity": 1,
"unitPrice": {
"amount": "35500",
"currency": "THB"
}
}
]
}
200 The order401 Missing or unknown key403 Key lacks the scope, or the shop is restricted (SHOP_RESTRICTED) or paused for writes (SHOP_PAUSED)404 Not an order of your shop (ORDER_NOT_FOUND)429 Rate limited: per key by your shop rank (120 a minute to start), 5 times that per shop, 300 per IP