PUT v3/basket/merchandise

Replace all merchandise items in the current basket

Request Information

URI Parameters

None.

Body Parameters

Collection of NewMerchandiseItem
NameDescriptionTypeAdditional information
StockItem

string

None.

Reference

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json

Sample:
[
  {
    "stockItem": "sample string 1",
    "reference": "sample string 2"
  },
  {
    "stockItem": "sample string 1",
    "reference": "sample string 2"
  }
]

text/xml

Sample:

The response/request for text/xml format is no longer supported for this endpoint.

Response Information

Resource Description

Collection of MerchandiseItem
NameDescriptionTypeAdditional information
Barcode

string

None.

StockItem

StockItem

None.

Delivered

boolean

None.

Offer

Offer

None.

CustomItems

Collection of CustomItem

None.

Discount

The amount this item has been discounted by from any offers.

decimal number

None.

Price

The nominal price of the item, before any commissions, discounts etc. have been applied.

decimal number

None.

Total

The total price of the item after any commissions, discounts etc. have been applied.

decimal number

None.

Id

string

None.

Response Formats

application/json, text/xml

Sample:

Sample not available.