GuideLab API

Remove a line item from an existing order

Removes a line item from a draft order. Order items are frozen after submission.

DELETE
/orders/{id}/items/{itemId}

Removes a line item from a draft order. Order items are frozen after 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

Order ID

itemId*string

Order item ID

Response Body

application/json

curl -X DELETE "https://example.com/orders/550e8400-e29b-41d4-a716-446655440000/items/660e8400-e29b-41d4-a716-446655440111"
{  "success": true}
Empty
Empty
Empty
Empty