GuideLab API

Submit an existing order draft

Atomically validates and promotes the caller-owned draft in place. Replays return the same order when submitted_at proves a prior successful submission.

POST
/orders/{id}/submit

Atomically validates and promotes the caller-owned draft in place. Replays return the same order when submitted_at proves a prior successful submission.

Authorization

__Secure-guidelab-prod.session_token<token>

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

In: cookie

Path Parameters

id*string

Existing draft order ID

Length1 <= length

Response Body

application/json

curl -X POST "https://example.com/orders/550e8400-e29b-41d4-a716-446655440000/submit"
{  "id": "string",  "orderNumber": "string",  "replayed": true}
Empty
Empty
Empty
Empty
Empty