Set buyer

PUT{{API_BASE_URL}}/shop/v1/cart/:id/buyer

This endpoint is used to update the buyer information for a specific cart.

Request

  • cart (path): The ID of the cart to be updated.

Request Body

  • firstName: (text) The first name of the buyer.

  • lastName: (text) The last name of the buyer.

  • company: (text) The company name of the buyer.

  • salutation: (text) The salutation of the buyer.

  • vatId: The VAT ID of the buyer.

  • address: The address object containing the street, house number, postal code, city, county, and country of the buyer.

Response

  • buyerSet: The buyer set object with successful status and buyer person details.

    • successful: A boolean indicating the success status of the buyer set.

    • cartId: The ID of the cart.

    • buyerPerson: The buyer person object with salutation, first name, last name, email, company, address, VAT ID, isPrefilled, survey ID, and validity status.

  • cart: The cart object containing details about the cart, user, event, promotion codes, items, totals, immutability status, buyer person, status, and culture.

Authentication#auth

This endpoint does not require authentication.

Query parameters#query

$expandAlloptional

Responses#responses

200OKSet buyer