Delete a supplier order
Deletes the supplier 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.OrderSupplier.Delete`.
DELETE
Bearerheader
AuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
documentId*integerFormat
int32response?unknownapplication/octet-streamcurl -X DELETE 'https://<your-instance>/api/documents/orders/supplier/0' \ -H 'Authorization: Bearer <access-token>'nullGet a supplier order GET
Returns one supplier order by `documentId`, with its header, items and item variants. Requires `Permissions.OrderSupplier.View`.
Update a supplier order PUT
Updates the supplier order header and the items sent in the body. Pass `removeItemsNotInRequest=true` to also delete the items the body leaves out. Requires `Permissions.OrderSupplier.Update`.