Appearance
Releases
Every change to the Open Platform API and webhooks, newest first. Changes are additive unless marked Breaking.
Order milestone times Upcoming
API v1
- Added
awb_print_timeon the order object ofPOST /v1/order/createandPOST /v1/order/detail: when the shipping label was last printed. Absent until it is. - Added
awb_print_time,payment_complete_time,shipping_complete_timeandcomplete_timeonPOST /v1/order/link/detail, with the same meaning as on the order object. Each is absent until it happens.
Order link hash on the order Upcoming
API v1
- Added
order_link_hashon the order object ofPOST /v1/order/createandPOST /v1/order/detail: the valuePOST /v1/order/link/detailtakes, so you can show the customer an order without asking the seller for its link. Absent on a purchase order.
Order link packing video file Upcoming
API v1
- Added
packing_video_file_urlonPOST /v1/order/link/detail: a link to the packing video's media file itself, next topacking_video_url, which is a web page. Absent until the store's packing recorder sends one.
Payments Upcoming
API v1
- Added
POST /v1/payment/create: record a payment your store received for 1 to 100 of its orders. Send JSON, ormultipart/form-datawith the customer's transfer slip in aslip_imagepart (JPEG, PNG or WebP, at most 5 MB). When the store has ตรวจสลิป on, XSelly checks the slip with the bank: a verified slip confirms the payment by itself, and anything else (a fake slip, no QR code, no credit left) stays pending for a person to check, even withconfirm: true. A Bangkok Bank transfer the bank does not know yet is checked again automatically for 20 minutes. The rule followsverifies_slipson the account: when it istrue,confirmis ignored; when it isfalse(ตรวจสลิป off, or an account such as cash), sendconfirm: trueto record a payment someone has already seen arrive. Retries are safe with anIdempotency-Keyheader. - Added
POST /v1/payment/confirmandPOST /v1/payment/reject: settle a pending payment, whether it came from the API or the XSelly app. Confirming does not check the slip again, so it also confirms a payment whose slip failed the check. - Added
POST /v1/payment/list: an order's payments and refunds, payments by id, or every payment waiting for confirmation. - Added
POST /v1/store/payment_account/list: your store's payment accounts, thepayment_account_ida payment is recorded into. - Added The error code
conflict(409): confirming a rejected payment, rejecting a confirmed one, or repeating anIdempotency-Keywhose first call is still running. - Added The error code
temporarily_unavailable(503, withRetry-After): a payment with a slip that arrived while the server was busy with other large slip images. Nothing was recorded; send it again.
Customers and contacts Upcoming
API v1
- Added
customeronPOST /v1/order/create: name your own customer record withexternal_customer_id, and the store keeps one contact (ผู้ติดต่อ) per customer of your app, reusing the customer's address instead of storing it again.create_contactoverrides the store's "create contacts automatically" setting for one order. - Added
contact_codeon the order object: the contact's รหัสผู้ติดต่อ, when it has one.
10 October 2026
API v1
Added
POST /v1/order/link/detail: what an order's public link shows the customer, by the order link hash the store copies from the XSelly app — products, amounts, payments with their slips, the accounts to pay into, and shipments with their tracking events.Added
POST /v1/product/list: your store's products, one row each (id, name, main picture), with search, sorting, paging and an optional total.Added
POST /v1/product/detail: one product in full, with every variant'sproduct_variant_id, SKU, prices per price tier, and stock per warehouse.Added
POST /v1/inventory/list: your store's stock list, one entry per variant and warehouse, with quantities and, on request, the price in one price tier, cost and timestamps.Added A rate limit on every
/v1call: 120,000 requests an hour per app, with bursts of up to 2,000. Past it the call answers429 slow_downwithRetry-After. See Rate limits.Added
create_by_helper_emailonPOST /v1/order/create: create the order as one of the store's helpers, named by their XSelly login email. The helper must be allowed to create orders, otherwise403 access_denied. The order object of create andPOST /v1/order/detailnow carriescreate_by_helper_emailon any order a helper made, including ones keyed into the app.Added
POST /v1/inventory/quantities: the stock of up to 100 variants at once, byproduct_variant_id, SKU or UPC, in the default warehouse or one you name. Values that match nothing come back undernot_found.
18 September 2026
Apps
- Added Store owners create Open Platform apps themselves under ระบบภายนอก (API). Each app counts toward the store's connection quota.
- Added Store owners issue and replace an app's Client Secret themselves. After a replacement, the previous secret stays valid for 24 hours.
Webhooks
- Changed The Webhook URL and event switches are now set per app rather than per store, with one switch per event.
15 September 2026 API v1.0.0
API v1
- Added
POST /oauth/token: OAuth 2.0 client credentials, four-hour access tokens, rate limited to 10 requests a minute perclient_id. - Added
POST /v1/order/create, with idempotent retries byexternal_order_id, lines byproduct_variant_idorsku, and automatic XShipping booking. - Added
POST /v1/order/detail, byorder_id(store-wide) orexternal_order_id(per app). - Added
POST /v1/store/address/list.sender_address_idis optional and defaults to the store's primary address. - Added The API is published as an OpenAPI 3.2 document and a Postman collection.
Webhooks
- Changed The signing key is now called the Webhook Secret (previously "API key"). Its value is unchanged, so existing integrations need no changes.
22 July 2026 Webhooks v1
- Added The
stock_available_updatedevent, signed with HMAC-SHA256 inX-XSelly-Signature. Each event is delivered in a single attempt with no retries; acknowledge it within one second.
