setShopperContext
post
/ccstore/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
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
Type:
object
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.
Show Source
-
shopperContext:
object shopperContext
External Context Dynamic properties values using which PriceListGroups, Catalog and Additional PriceListGroups are determined
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.
Root Schema : setShopperContext_response
Type:
Show Source
object
-
defaultAdditionalPriceListGroups:
array defaultAdditionalPriceListGroups
-
defaultCatalog:
object defaultCatalog
Catalog determined by the webhook/Fall Back for the current context.
-
defaultPriceListGroup:
object defaultPriceListGroup
Pricelistgroup determined by the webhook/Fall Back for the current context
-
isExternalContext:
boolean
-
message:
string
Nested Schema : defaultAdditionalPriceListGroups
Type:
Show Source
array
-
Array of:
object items
Additional PriceListGroups determined by WebHook/Fall Back for the current context
Nested Schema : defaultCatalog
Type:
object
Catalog determined by the webhook/Fall Back for the current context.
Show Source
Nested Schema : defaultPriceListGroup
Type:
object
Pricelistgroup determined by the webhook/Fall Back for the current context
Show Source
-
active:
boolean
Indicates if the PriceListGroup is active.
-
currency:
object currency
The currency details of the PriceListGroup.
-
deleted:
boolean
Indicates if the PriceListGroup is deleted.
-
displayName:
string
Display name of the PriceListGroup.
-
endDate:
string
End date of the the associated list price list.
-
listPriceList:
object listPriceList
The price list for list prices
-
locale:
string
Locale of the the associated list price list.
-
repositoryId:
string
The ID of the PriceListGroup item.
-
salePriceList:
object salePriceList
The price list for sale prices.
-
shippingSurchargePriceList:
object shippingSurchargePriceList
The price list for shipping surcharge prices.
-
startDate:
string
Start date of the the associated list price list.
Nested Schema : items
Type:
object
Additional PriceListGroups determined by WebHook/Fall Back for the current context
Show Source
-
active:
boolean
Indicates if the PriceListGroup is active.
-
currency:
object currency
The currency details of the PriceListGroup.
-
deleted:
boolean
Indicates if the PriceListGroup is deleted.
-
displayName:
string
Display name of the PriceListGroup.
-
endDate:
string
End date of the the associated list price list.
-
listPriceList:
object listPriceList
The price list for list prices
-
locale:
string
Locale of the the associated list price list.
-
repositoryId:
string
The ID of the PriceListGroup item.
-
salePriceList:
object salePriceList
The price list for sale prices.
-
shippingSurchargePriceList:
object shippingSurchargePriceList
The price list for shipping surcharge prices.
-
startDate:
string
Start date of the the associated list price list.
Nested Schema : currency
Type:
object
The currency details of the PriceListGroup.
Show Source
-
currencyCode:
string
The currency Code of the currency.
-
displayName:
string
The display Name of the currency.
-
fractionalDigits:
string
Fractional digits that currency supports.
-
numericCode:
string
The numeric Code of the currency.
-
repositoryId:
string
The repository id of the currency.
-
symbol:
string
The symbol denoting the currency.
Nested Schema : listPriceList
Type:
object
The price list for list prices
Show Source
-
repositoryId:
string
Repository id of the list price list.
Nested Schema : salePriceList
Type:
object
The price list for sale prices.
Show Source
-
repositoryId:
string
Repository id of the sale price list.
Nested Schema : shippingSurchargePriceList
Type:
object
The price list for shipping surcharge prices.
Show Source
-
repositoryId:
string
Repository id of shipping surcharge price list.
Nested Schema : currency
Type:
object
The currency details of the PriceListGroup.
Show Source
-
currencyCode:
string
The currency Code of the currency.
-
displayName:
string
The display name of the currency.
-
fractionalDigits:
string
Fractional digits that currency supports.
-
numericCode:
string
The numeric Code of the currency.
-
repositoryId:
string
The repository id of the currency.
-
symbol:
string
The symbol denoting currency.
Nested Schema : listPriceList
Type:
object
The price list for list prices
Show Source
-
repositoryId:
string
Repository id of the list price list.
Nested Schema : salePriceList
Type:
object
The price list for sale prices.
Show Source
-
repositoryId:
string
Repository id of the sale price list.
Nested Schema : shippingSurchargePriceList
Type:
object
The price list for shipping surcharge prices.
Show Source
-
repositoryId:
string
Repository id of shipping surcharge price list.