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