ShopperContext
ShopperContextErrorCodes
ShopperContextException
ShopperContextMgr
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
Helper class containing error codes to indicate why a Shopper Context cannot be accessed, set or modified.
| Constant | Description |
|---|---|
| ASSIGNMENT_QUALIFIERS_LIMIT_EXCEEDED: String = “ASSIGNMENT_QUALIFIERS_LIMIT_EXCEEDED” | Indicates that the assignment qualifiers limit exceeded |
| COUPON_CODES_LIMIT_EXCEEDED: String = “COUPON_CODES_LIMIT_EXCEEDED” | Indicates that the coupon codes limit exceeded |
| CUSTOM_QUALIFIERS_LIMIT_EXCEEDED: String = “CUSTOM_QUALIFIERS_LIMIT_EXCEEDED” | Indicates that the custom qualifiers limit exceeded |
| FEATURE_DISABLED: String = “FEATURE_DISABLED” | Indicates that the feature toggle ‘ShopperContextEnabled’ is not enabled. |
| INTERNAL_ERROR: String = “INTERNAL_ERROR” | Indicates that an internal error occurred while setting, retrieving or deleting the shopper context |
| INVALID_ARGUMENT: String = “INVALID_ARGUMENT” | Indicates an invalid argument was provided |
| INVALID_REQUEST_TYPE: String = “INVALID_REQUEST_TYPE” | Indicates that the request type is invalid. |
| QUOTA_LIMIT_EXCEEDED: String = “QUOTA_LIMIT_EXCEEDED” | Indicates that the quota limit for the shopper context has been reached. |
| Constructor | Description |
|---|---|
| ShopperContextErrorCodes() |
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Indicates that the assignment qualifiers limit exceeded
Indicates that the coupon codes limit exceeded
Indicates that the custom qualifiers limit exceeded
Indicates that the feature toggle 'ShopperContextEnabled' is not enabled.
Indicates that an internal error occurred while setting, retrieving or deleting the shopper context
Indicates an invalid argument was provided
Indicates that the request type is invalid. Request must be a SCAPI request, or a hybrid storefront request, or an ocapi request using a SLAS token.
Indicates that the quota limit for the shopper context has been reached.