Skip to content

Add legitimation document

POST{{API_BASE_URL}}/shop/v1/cart/:cartId/legitimation/:legitimationId/document

Request Body

The request should be sent as a form-data with the following parameter:

  • file (file): The document file to be added.

Response

Upon successful addition of the document to the cart legitimation, the response will include the following details:

  • cartId (string): The ID of the cart.

  • documentId (string): The ID of the added document.

  • legitimationId (string): The ID of the legitimation.

Authentication#auth

Requires a bearer token with the matching scope. Mint via OAuth 2.0 client credentials and send it in the Authorization header.

Responses#responses

200OKAdd legitimation document