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