PUTADITUS/Ticket purchase & registration/Cart/Registration/Update item's registration

Update item's registration

PUT{{API_BASE_URL}}/shop/v1/cart/:cart/items/:item/registration?$expand

This endpoint is used to update the registration of an item in the cart.

Request

  • cart: The cart ID

  • item: The item ID

Request body

  • type

  • answers:

    • binding member

    • value

Response

  • data (object): Contains the updated registration information and the cart details.

    • registrationUpdated (object): Contains the updated registration details.

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

      • id (string): The ID of the registration.

      • registration (object): Contains the updated registration information.

        • type (string): The type of registration.

        • referencedSurveyResponse (null): The referenced survey response.

        • answers (array): List of answers for the registration.

          • isReadOnly (boolean): Indicates if the answer is read-only.

          • bindingMember (string): The binding member for the answer.

          • value (string): The value of the answer.

        • hasInformation (boolean): Indicates if the registration has information.

    • cart (object): Contains the details of the cart.

Authentication#auth

This endpoint does not require authentication.

Query parameters#query

$expandoptional

Responses#responses

200OKUpdate item's registration