Save a basket

Save a initiated basket

Request
query Parameters
customerId
required
integer <int32>

The internal customer id of the customer. The id is used to fetch saved baskets.

basketId
required
integer <int32>

The internal id of the basket to save.

name
required
string

The name of the saved basket.

cultureCode
string

Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.

Responses
200

Success

400

Bad Request

Key: BasketNotEditable. Gets raised when the basket is not editable or already paid for.

Key: QuotationMissing. Gets raised when the basket is missing.

500

Internal Server Error

post/ShoppingService.svc/rest/SaveBasket
Response samples
{
  • "Id": 0,
  • "Name": "string",
  • "Created": "2019-08-24T14:15:22Z",
  • "CustomerId": 0,
  • "ValidTo": "2019-08-24T14:15:22Z"
}