latestOpenAPI 3.0.02026-08-105585620.8 KB

18e2f2e178dd

Orders API

Cancel an order

Cancels pending order or draft. Charged amount is returned to the store owner's credit card.

delete/orders/{id}

Path parameters

string required
OR
integer required

Order ID (integer) or External ID (if prefixed with @)

Headers

X-PF-Store-Idstring

Use this to specify which store you want to use (required only for account level token).

The store IDs can be retrieved with the Get basic information about stores endpoint.

Response

OK

codeinteger

Response status code 200

resultOrder — unresolved $ref