Set user

PUT{{API_BASE_URL}}/shop/v1/cart/:cart/user

An HTTP PUT request is made to update the user associated with a specific cart.

The user can be set using the identifier retrieved from the ADITUS Identity Provider or using the email address.

Request

Request Body

  • user: (string): The ID or email address of the user

  • isVerified (boolean): Should be set to true if the user verified his identity using a Identity Provider.

Response

  • userSetted (object)

    • successful (boolean)

    • cartId (string)

    • userId (string)

  • Cart (object):

    • id (string)

    • expiryTime (string)

    • user (object)

      • id (string)

      • isVerified (boolean)

      • eMail (string)

    • event (object)

      • id (string)

      • name (string)

      • year (string)

      • number (string)

      • slug (string)

    • promotionCodes (array)

    • items (array)

    • totals (array)

      • original (object)

        • price (number)

        • grossPrice (number)

        • tax (number)

        • taxRate (number)

        • currency (string)

      • price (number)

      • grossPrice (number)

      • tax (number)

      • taxRate (number)

      • currency (string)

    • isImmutable (boolean)

    • isPaymentImmutable (boolean)

    • isLegitimationImmutable (boolean)

    • isRegistrationImmutable (boolean)

    • isAmountImmutable (boolean)

    • isRegistrationOnly (boolean)

    • isRegistrationRequired (boolean)

    • isLegitimationRequired (boolean)

    • isPaymentRequired (boolean)

    • buyerPerson (object)

      • email (string)

      • firstName (string)

      • lastName (string)

      • company (string)

      • salutation (string)

      • vatId (string)

      • address (object)

        • street (string)

        • houseNumber (string)

        • postalCode (string)

        • city (string)

        • county (string)

        • country (string)

      • isPrefilled (boolean)

      • surveyId (string)

      • isValid (boolean)

    • status (string)

    • culture (string)

Authentication#auth

This endpoint does not require authentication.

Query parameters#query

$expandAlloptional

Responses#responses

200OKSet user