Create a cart
This method allows us to create a shopping cart (from now on, cart).
The cart is a container for products (activities, accommodations, and/or packages). It can contain 0 to N products.
The cart itself does not expire. However, the products added to it do expire.
Access method
Section titled “Access method”POST /ShoppingCart/Create
Request structure
Section titled “Request structure”There is no request body.
Response structure
Section titled “Response structure”-
Id: (string). Cart identifier. -
Success: (boolean). Value that indicates whether the call was processed correctly or not. -
Errors: (list). Array of errors.Error: (object).ErrorMessage: (string). Error message explaining why the request was not successful. If it was correct, it will returnnull.ErrorCode: (int). Code that identifies the error.
-
ErrorEntityBreakDown(list): list that contains objects with the name and ID in case of error.Id(string): identifierName(string): related name of the identifier.