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.

OverriddenPrice

decimal number

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.

OriginalPrice

The original price of the item, before it was overridden.

decimal number

None.

Price

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

decimal number

None.

PriceOverridden

If true, the nominal price of the item (before commissions, discounts etc.) has been overridden. Price contains the overridden price; OriginalPrice contains the price before it was overridden

boolean

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.