POSTADITUS/Ticket purchase & registration/User/Update mailing preferences

Update mailing preferences

POST{{API_BASE_URL}}/shop/v1/user/:user/mailing-preferences

This endpoint allows the user to update their profile information.

Request

  • user(string): The user ID

Request Body

  • salutation (string): The salutation of the user.

  • firstName (string): The first name of the user.

  • lastName (string): The last name of the user.

  • email (string): The email address of the user.

  • company (string): The company name of the user.

  • website (string): The website URL of the user's company.

  • phone (string): The phone number of the user.

  • mobile (string): The mobile number of the user.

  • fax (string): The fax number of the user.

  • vatId (string): The VAT identification number of the user.

  • address (object): An object containing the address details of the user.

    • street (string): The street name of the user's address.

    • houseNumber (string): The house number of the user's address.

    • postalCode (string): The postal code of the user's address.

    • city (string): The city of the user's address.

    • county (string): The county of the user's address.

    • country (string): The country of the user's address.

  • notificationPreferences (object): An object containing the notification preferences of the user.

    • email (boolean): Indicates if email notifications are enabled (true/false).

    • phone (boolean): Indicates if phone notifications are enabled (true/false).

    • postMail (boolean): Indicates if postal mail notifications are enabled (true/false).

Response

  • data (object): An object containing the response data.

    • userId (string): The user ID.

    • profile (object): An object containing the user's profile information.

      • id (string): The profile ID.

      • salutation (string): The salutation of the user.

      • firstName (string): The first name of the user.

      • lastName (string): The last name of the user.

      • email (string): The email address of the user.

      • company (string): The company name of the user.

      • title (null): The title of the user.

      • website (string): The website URL of the user's company.

      • phone (string): The phone number of the user.

      • mobile (string): The mobile number of the user.

      • fax (string): The fax number of the user.

      • vatId (string): The VAT identification number of the user.

      • address (object): An object containing the address details of the user.

        • street (string): The street name of the user's address.

        • houseNumber (string): The house number of the user's address.

        • postalCode (string): The postal code of the user's address.

        • city (string): The city of the user's address.

        • county (string): The county of the user's address.

        • country (string): The country of the user's address.

      • notificationPreferences (object): An object containing the notification preferences of the user.

        • email (boolean): Indicates if email notifications are enabled (true/false).

        • phone (boolean): Indicates if phone notifications are enabled (true/false).

        • postMail (boolean): Indicates if postal mail notifications are enabled (true/false)

Authentication#auth

This endpoint does not require authentication.

Responses#responses

200OKUpdate profile