Skip to navigation

Delete an order

Draft scaffold — not implemented or available in the API.

Permanently deletes a draft order with its negotiated pricing, and archives the commits created with it. Fails on any order that isn’t a draft. {order} takes the order’s ord_ ID or your externalId.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

orderstringRequired1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.

Headers

Paid-BetaenumRequired

This endpoint is in the orders=v1 beta. Send this header to use it.

Allowed values:

Response

200
idstring1-255 characters
The deleted resource's ID.
deletedboolean
The unused resource was deleted.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error