Skip to content

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_time on the order object of POST /v1/order/create and POST /v1/order/detail: when the shipping label was last printed. Absent until it is.
  • Added awb_print_time, payment_complete_time, shipping_complete_time and complete_time on POST /v1/order/link/detail, with the same meaning as on the order object. Each is absent until it happens.

API v1

API v1

  • Added packing_video_file_url on POST /v1/order/link/detail: a link to the packing video's media file itself, next to packing_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, or multipart/form-data with the customer's transfer slip in a slip_image part (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 with confirm: true. A Bangkok Bank transfer the bank does not know yet is checked again automatically for 20 minutes. The rule follows verifies_slips on the account: when it is true, confirm is ignored; when it is false (ตรวจสลิป off, or an account such as cash), send confirm: true to record a payment someone has already seen arrive. Retries are safe with an Idempotency-Key header.
  • Added POST /v1/payment/confirm and POST /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, the payment_account_id a payment is recorded into.
  • Added The error code conflict (409): confirming a rejected payment, rejecting a confirmed one, or repeating an Idempotency-Key whose first call is still running.
  • Added The error code temporarily_unavailable (503, with Retry-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 customer on POST /v1/order/create: name your own customer record with external_customer_id, and the store keeps one contact (ผู้ติดต่อ) per customer of your app, reusing the customer's address instead of storing it again. create_contact overrides the store's "create contacts automatically" setting for one order.
  • Added contact_code on 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's product_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 /v1 call: 120,000 requests an hour per app, with bursts of up to 2,000. Past it the call answers 429 slow_down with Retry-After. See Rate limits.

  • Added create_by_helper_email on POST /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, otherwise 403 access_denied. The order object of create and POST /v1/order/detail now carries create_by_helper_email on 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, by product_variant_id, SKU or UPC, in the default warehouse or one you name. Values that match nothing come back under not_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

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_updated event, signed with HMAC-SHA256 in X-XSelly-Signature. Each event is delivered in a single attempt with no retries; acknowledge it within one second.

XSelly Open Platform API v1