Creates the shopper's context based on shopperJWT.
If you would like to get a raw Response object use the other createShopperContext function.
An object containing the options for this method.
A promise of type void | void.
Creates the shopper's context based on shopperJWT.
An object containing the options for this method.
Optional
rawResponse: TSet to true to return entire Response object instead of DTO.
A promise of type Response if rawResponse is true, a promise of type void | void otherwise.
Gets the shopper's context based on the shopperJWT.
If you would like to get a raw Response object use the other deleteShopperContext function.
Optional
options: RequireParametersUnlessAllAreOptional<{ An object containing the options for this method.
A promise of type void.
Gets the shopper's context based on the shopperJWT.
Optional
options: RequireParametersUnlessAllAreOptional<{ An object containing the options for this method.
Optional
rawResponse: TSet to true to return entire Response object instead of DTO.
A promise of type Response if rawResponse is true, a promise of type void otherwise.
Gets the shopper's context based on the shopperJWT.
If you would like to get a raw Response object use the other getShopperContext function.
Optional
options: RequireParametersUnlessAllAreOptional<{ An object containing the options for this method.
A promise of type ShopperContext.
Gets the shopper's context based on the shopperJWT.
Optional
options: RequireParametersUnlessAllAreOptional<{ An object containing the options for this method.
Optional
rawResponse: TSet to true to return entire Response object instead of DTO.
A promise of type Response if rawResponse is true, a promise of type ShopperContext otherwise.
Updates the shopper's context based on the Shopper JWT. If the shopper context exists, it's updated with the patch body. If a customer qualifier or an effectiveDateTime
is already present in the existing shopper context, its value is replaced by the corresponding value from the patch body. If a customer qualifers' value is set to null
it's deleted from existing shopper context. If effectiveDateTime
value is set to set to an empty string (""), it's deleted from existing shopper context. If effectiveDateTime
value is set to null
it's ignored. If an effectiveDateTime
or customer qualifiiers' value is new, it's added to the existing Shopper context.
If you would like to get a raw Response object use the other updateShopperContext function.
An object containing the options for this method.
A promise of type ShopperContext.
Updates the shopper's context based on the Shopper JWT. If the shopper context exists, it's updated with the patch body. If a customer qualifier or an effectiveDateTime
is already present in the existing shopper context, its value is replaced by the corresponding value from the patch body. If a customer qualifers' value is set to null
it's deleted from existing shopper context. If effectiveDateTime
value is set to set to an empty string (""), it's deleted from existing shopper context. If effectiveDateTime
value is set to null
it's ignored. If an effectiveDateTime
or customer qualifiiers' value is new, it's added to the existing Shopper context.
An object containing the options for this method.
Optional
rawResponse: TSet to true to return entire Response object instead of DTO.
A promise of type Response if rawResponse is true, a promise of type ShopperContext otherwise.
Static
Readonly
default
Shopper Context
The Shopper Context API enables developers to build highly contextualized shopping experiences for shoppers.
Simple example:
API Version: 0.0.19Last Updated: