GuideLab API

Archive an order

Archives a completed or cancelled order by setting its archivedAt timestamp. Shipment status is independent. Lab-only endpoint.

POST
/archive/orders

Archives a completed or cancelled order by setting its archivedAt timestamp. Shipment status is independent. Lab-only endpoint.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Response Body

application/json

curl -X POST "https://example.com/archive/orders"
{  "success": true,  "order": {    "id": "string",    "orderNumber": "string",    "archivedAt": "string"  }}
Empty
Empty
Empty
Empty