Delete a internal order
Deletes the internal 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.OrderInternal.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/internal/0' \ -H 'Authorization: Bearer <access-token>'nullGet a internal order GET
Returns one internal order by `documentId`, with its header, items and item variants. Requires `Permissions.OrderInternal.View`.
Update a internal order PUT
Updates the internal order header and the items sent in the body. Pass `removeItemsNotInRequest=true` to also delete the items the body leaves out. Requires `Permissions.OrderInternal.Update`.