Track and advance an order
Status, ERP posting, shipping, cancellation, late payment.
A store order — placed on the storefront or created through the API — follows a linear lifecycle:
NEW ──► CONFIRMED ──► PREPARED ──► SHIPPED ──► DELIVERED
│ │ │
└──────────┴─────────────┴──► CANCELLED (as long as nothing has left)CONFIRMED means posted to the ERP: ERP customer, sales document, stock according to the store’s policy. An order never goes backwards; a shipped order cannot be cancelled — what is undone after delivery is a return, with its credit note, handled in QuoSuite.
Reading an order
By identifier or by number:
curl 'https://quosuite.com/api/public/v1/quoshop/orders/WEB-2026-000042' \
-H "Authorization: Bearer $QUOSHOP_API_KEY"| Field | Meaning |
|---|---|
status, statusLabel | lifecycle step |
paymentStatus | PENDING, AUTHORIZED, PAID, PARTIALLY_REFUNDED, REFUNDED, FAILED |
totals.paid, totals.due | collected, amount due |
erp.posted, erp.salesDocument, erp.invoiceNumber | documents issued in the ERP |
erp.stockApplied | the goods have left the ERP stock |
erp.lastError | last failure of the ERP posting, if any |
shippedAt, deliveredAt, cancelledAt… | step dates |
Tracking all orders
GET /orders lists the store’s orders — storefront and API — with filters an integration needs: externalId + source (yours), status, paymentStatus, channel, email, placedFrom / placedTo, and above all updatedSince for incremental tracking:
GET/orders
curl 'https://quosuite.com/api/public/v1/quoshop/orders?source=woocommerce&updatedSince=2026-10-01T00%3A00%3A00Z&sort=updatedAt&limit=100' \
-H "Authorization: Bearer $QUOSHOP_API_KEY"The order.status_changed, order.paid and order.cancelled webhooks save you from polling: see Receive webhooks.
Moving an order forward
For an external system that handles preparation and shipping — a CMS whose team marks orders “shipped”:
curl -X POST 'https://quosuite.com/api/public/v1/quoshop/orders/WEB-2026-000042/status' \
-H "Authorization: Bearer $QUOSHOP_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"status": "SHIPPED",
"notifyCustomer": false
}'- One step per call: from
CONFIRMED, you can go toPREPAREDor straight toSHIPPED, not toDELIVERED. To deliver a confirmed order:SHIPPED, thenDELIVERED. A forbidden transition: 422. - Asking for the step the order is already at changes nothing and answers 200: replaying a call is safe.
- ERP effects, those of the back office:
CONFIRMEDposts to the ERP;SHIPPEDissues the goods and invoices if the store invoices on shipping;CANCELLED(withreason) cancels the documents and puts back in stock what had left.
Collecting payment afterwards
Cash on delivery, transfer received: POST /orders/{order}/payments records the payment in the ERP and matches it against the invoice. Idempotent by reference: replayed, the same reference records nothing more.
# One key per operation, reused as is on every retry.
curl -X POST 'https://quosuite.com/api/public/v1/quoshop/orders/WEB-2026-000042/payments' \
-H "Authorization: Bearer $QUOSHOP_API_KEY" \
-H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
-H 'Content-Type: application/json' \
-d '{
"reference": "wc-shop.example.com-10293",
"amount": 365.33,
"method": "CASH",
"paidAt": "2026-10-04T16:20:00Z"
}'An order carries one payment: a second one, under another reference, is refused (409); so is an amount above what is due (422).
Avoiding ping-pong
If your system pushes its changes to QuoShop and applies QuoShop’s changes received by webhook, do not send back to QuoShop a change that came from it: flag the updates applied from a webhook and skip them in your sending logic. That is what the plugins do.