WinShopAPI docs
ReferenceDocumentsOrdersInternet

Delete a web-shop order

Deletes the web-shop order together with its items and item variants. Cannot be undone. Call `GET {documentId}/check-delete` first to find out whether the delete is allowed. Requires `Permissions.OrderInternet.Delete`.

DELETE
/api/documents/orders/internet/{documentId}

Authorization

Bearer
headerAuthorizationBearer <token>

OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.

Path Parameters

documentId*integer
Formatint32

Response Body

response?unknownapplication/octet-stream
curl -X DELETE 'https://<your-instance>/api/documents/orders/internet/0' \  -H 'Authorization: Bearer <access-token>'
null