SmartGare
API referenceEndpoints

Abandon a sale

Ends a checkout still awaiting payment: the seats it held go back on sale at once, and the sale can no longer be paid. Abandoning it again answers with the same abandonment. **Required permission:** `ticketing.sale:write`

POST/ticketing/v1/sales/{id}/abandonment

Ends a checkout still awaiting payment: the seats it held go back on sale at once, and the sale can no longer be paid. Abandoning it again answers with the same abandonment.

Required permission: ticketing.sale:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

*/*

curl -X POST "https://example.com/ticketing/v1/sales/string/abandonment"
{  "abandoned_at": "2019-08-24T14:15:22Z",  "abandoned_by": "string",  "sale_id": "string",  "sale_status": "string"}