WinShopAPI docs
ReferenceDocumentsClaimsCustomer

Get a customer claim as PDF

Renders the customer claim with its configured print template and returns `application/pdf` inline. 404 when the document has no printable output. Requires `Permissions.ClaimCustomer.View`.

GET
/api/documents/claims/customer/{documentId}/pdf

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 GET 'https://<your-instance>/api/documents/claims/customer/0/pdf' \  -H 'Authorization: Bearer <access-token>'
null