Commerce
Orders
Create, track, and manage commerce orders through their full lifecycle. Orders support status transitions, line items, shipping, and refunds.
commerceOrderCreate
GET
List orders
GET
/modules/commerce/orders
List commerce orders.
curl
curl https://api.saasignal.saastemly.com/modules/commerce/orders \
-H "Authorization: Bearer sk_live_..."
json — 200 OK
{ "status": "ok" }
Query param
Type
Description
statusstring
payment_statusstring
fulfillment_statusstring
customer_idstring
fromstring
tostring
limitinteger
range ≥1 .. ≤100default
25cursorstring
Error responses
401 Unauthorized
402 Insufficient tokens
429 Rate limited
Get an order
GET
/modules/commerce/orders/{order_id}
Retrieve a single order with items, payments, and recent events.
curl
curl https://api.saasignal.saastemly.com/modules/commerce/orders/{order_id} \
-H "Authorization: Bearer sk_live_..."
json — 200 OK
{ "status": "ok" }
Path param
Type
Description
order_id requiredstring
Error responses
401 Unauthorized
402 Insufficient tokens
404 Not found
429 Rate limited
Update an order
PATCH
/modules/commerce/orders/{order_id}
Update order addresses, notes, or metadata.
curl
curl -X PATCH https://api.saasignal.saastemly.com/modules/commerce/orders/{order_id} \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{}'
json — 200 OK
{ "status": "ok" }
Path param
Type
Description
order_id requiredstring
Body field
Type
Description
shipping_addressany JSON
billing_addressany JSON
notesstring
metadataobject
Error responses
401 Unauthorized
402 Insufficient tokens
404 Not found
429 Rate limited
Delete an order
DELETE
/modules/commerce/orders/{order_id}
Permanently remove a pending or cancelled order.
curl
curl -X DELETE https://api.saasignal.saastemly.com/modules/commerce/orders/{order_id} \
-H "Authorization: Bearer sk_live_..."
json — 200 OK
{ "status": "ok" }
Path param
Type
Description
order_id requiredstring
Error responses
401 Unauthorized
402 Insufficient tokens
404 Not found
429 Rate limited