setShopperContext

post

/ccagent/v1/shopperContext

SetShopperContext. This operation fetches the PriceListGroup,Catalog and Additional PriceListGroups determined by External Price Group and Catalog Webhook using current context/Event sent by user.Also updates X-OCStateData header with the encrypted response.

Request

Supported Media Types
  • application/json
Body Parameter
SetShopperContext. This operation fetches the PriceListGroup,Catalog and Additional PriceListGroups determined by External Price Group and Catalog Webhook using current context/Event sent by user.Also updates X-OCStateData header with the encrypted response.
Root Schema : setShopperContext_request
SetShopperContext. This operation fetches the PriceListGroup,Catalog and Additional PriceListGroups determined by External Price Group and Catalog Webhook using current context/Event sent by user.Also updates X-OCStateData header with the encrypted response.
Nested Schema : shopperContext
Type: object
External Context Dynamic properties values using which PriceListGroups, Catalog and Additional PriceListGroups are determined

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : setShopperContext_response
Nested Schema : defaultAdditionalPriceListGroups
Type: array
Nested Schema : defaultCatalog
Type: object
Catalog determined by the webhook/Fall Back for the current context.
Nested Schema : defaultPriceListGroup
Type: object
Pricelistgroup determined by the webhook/Fall Back for the current context
Nested Schema : items
Type: object
Additional Pricelistgroup determined by webhook/Fall Back for the current context
Nested Schema : currency
Type: object
The currency details of the PriceListGroup.
Nested Schema : listPriceList
Type: object
The price list for list prices
Nested Schema : salePriceList
Type: object
The price list for sale prices.
Nested Schema : shippingSurchargePriceList
Type: object
The price list for shipping surcharge prices.
Nested Schema : currency
Type: object
The currency details of the PriceListGroup.
Nested Schema : listPriceList
Type: object
The price list for list prices
Nested Schema : salePriceList
Type: object
The price list for sale prices.
Nested Schema : shippingSurchargePriceList
Type: object
The price list for shipping surcharge prices.