Delete an order
The playground uses your live account
Delete an order for the authenticated retailer. Only a draft order can be deleted: a submitted order must be withdrawn first, and a read-only order (added by the courier, or already on a route) cannot be deleted.
AuthorizationBearer <token>Pass the API key directly as the token.
id*stringThe Spoke order ID.
^[a-zA-Z0-9_-]{1,50}$1 <= length <= 50The order was deleted.
curl -X DELETE 'https://api.spoke.com/connect/v1/orders/string'Was this page helpful?
Edit an order PATCH
Edit an order for the authenticated retailer. An omitted field is left unchanged, an explicit `null` clears a nullable field, an empty nested object changes nothing, and arrays replace the whole stored array. A provided address replaces the stored address in full and is re-geocoded exactly as on create. A read-only order (added by the courier, or already on a route) cannot be edited.
Retrieve an order's shipping labels GET
Render the order's shipping labels as a single PDF (A6, one Code 128 barcode per page, one page per package) and return a signed URL to it, valid for one hour. Every call renders the labels afresh and signs a new URL, so fetch it promptly server-side: the link is too short-lived to embed anywhere a recipient might open later.