Add legitimation

POST{{API_BASE_URL}}/shop/v1/cart/:cart/legitimation/:legitimation

This endpoint is used to submit legitimation proofs for a specific cart and legitimation.

Request

  • proofs (array of objects)

    • typeId (string): The ID of the proof type

    • documentType (string): Type of the document, e.g., passport, driver's license

    • value (string): Value of the document, e.g., document number, ID

Response

Upon successful submission, the response will contain the following data:

  • legitimationAdded (object)

    • successful (boolean): Indicates if the legitimation proof submission was successful

    • cartId (string): The ID of the cart

    • legitimationIdentifier (object)

      • legitimationCategoryId (string): The ID of the legitimation category

      • identifier (string): Identifier of the legitimation

      • type (string): Type of the legitimation

  • cart (object): detailed information about the cart, including user details, event details, items in the cart, buyer information, legitimation details, and more.

Authentication#auth

This endpoint does not require authentication.

Query parameters#query

$expandAlloptional

Responses#responses

200OKAdd legitimation