Skip to content
API referenceAPI v1admin-sdk 1.1.52Search docs⌘K
Orders · Order status
API reference / Orders

Order status

GET/api/v1/orders/status/:idno app scope

A public check of one order's status, for a thank-you page that polls. No key needed.

This endpoint answers 200 with state: "error" even when it finds the order; read result.result for the status. An ID that doesn't exist answers 500.

Path parameters

idintegerrequired

The order's ID.

Returns

result.result is the order's status number and result.uid its invoice link's ID. The same object is repeated under data.

statusMeaning
1pending: waiting for the customer to pay.
2error: the payment failed.
3paid: orders.paid has been sent.

Errors

500No order has this ID.