Recommendations combine explicit curation with an ordered automatic rule chain. Pinned products are shown first, then rules fill the remaining positions. Exclusions hide products from all recommendations, including pinned products and Recently viewed. The free-product policy affects automatic selection only; pinned free products remain eligible. Reads use read_products, and writes use write_products.
Settings apply across storefronts. include_subcategories affects only same-category rules. Recently viewed history follows the configured window and consent policy. List responses include compact product references so integrations can render them without one request per product.
Endpoints#
Recommendation limits
Get recommendation limits and supported modes.
Use this response to build controls; do not hardcode limits or enum values. rail_min_limit/rail_max_limit bound both rail settings, pins_max_per_product bounds one product's pins, page_size_options are the page sizes for the pin and exclusion lists (each at most list_max_limit).
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Get recommendation settings
Get store-wide recommendation settings.
These settings govern related-product and recently-viewed rails across storefronts. related_limit and recently_viewed_limit are the most products each rail returns; a theme section can show fewer.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Update recommendation settings
Replace store-wide recommendation settings.
Send the complete settings object returned by GET. The rail limits must be within rail_min_limit–rail_max_limit, history_window_days one of history_window_options, and cross_device_history one of cross_device_modes. A successful update publishes recommendations/settings/update.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
related_limit
required
|
integer |
Products in the related rail. |
recently_viewed_enabled
required
|
boolean |
Whether Recently viewed is enabled. |
recently_viewed_limit
required
|
integer |
Products in Recently viewed. |
history_window_days
required
|
integer |
History window from limits. |
hide_out_of_stock
required
|
boolean |
Exclude sold-out products automatically. |
exclude_free_products
required
|
boolean |
Exclude zero-price products automatically. |
cross_device_history
required
|
string |
Cross-device mode from limits. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400RECOMMENDATION_LIMIT_INVALIDA rail limit is outside rail_min_limit–rail_max_limit; params.min and params.max give the range.
-
400RECOMMENDATION_HISTORY_WINDOW_INVALIDhistory_window_days is not one of history_window_options.
-
400RECOMMENDATION_CROSS_DEVICE_INVALIDcross_device_history is not one of cross_device_modes.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Get recommendation rules
Get the ordered automatic recommendation rule chain.
Rules run after pinned products and fill the rail in position order. An empty list uses the default category best-seller rule.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Set recommendation rules
Replace the ordered recommendation rule chain.
Send rules in display order, at most rules_max_per_store. same_attribute requires an attribute id in match_value and no other rule takes one; include_subcategories applies only to same_category and is saved as false elsewhere. The same rule (kind, value, sort and include_subcategories) cannot appear twice. Rules sent from GET can be sent back unchanged: position is ignored and set from the array order. Send an empty array to restore the default category best-seller rule. A successful update publishes recommendations/rules/update.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
rules
required
|
array<object> |
Complete ordered rule list. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400RECOMMENDATION_RULES_TOO_MANYMore than rules_max_per_store rules; params.max gives the limit.
-
400RECOMMENDATION_RULE_KIND_INVALIDA rule's match_kind is not one of rule_match_kinds; details.index is the rule's position.
-
400RECOMMENDATION_RULE_SORT_INVALIDA rule's sort is not one of rule_sorts; details.index is the rule's position.
-
400RECOMMENDATION_RULE_VALUE_INVALIDA same_attribute rule has no attribute id or one this store does not have, or another rule has a match_value; details.index is the rule's position.
-
400RECOMMENDATION_RULE_DUPLICATETwo rules are identical; details.index is the second one's position.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
List curated products
List products that have pinned recommendation lists.
Compact product references are included so clients do not need one product request per row: each carries pin_count (how many products it pins) and image_url (its main image, null without one).
Query parameters
| Name | Type | Description |
|---|---|---|
page
|
integer |
Page number. |
limit
|
integer |
Page size bounded by the limits response. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400RECOMMENDATION_LIST_INVALID_PAGEpage is below 1 or past the readable range.
-
400RECOMMENDATION_LIST_INVALID_LIMITlimit is below 1 or above list_max_limit; params.max gives the maximum.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Get pinned recommendations
Get one product's ordered pinned recommendations.
The products array follows pin order and contains display identity, including image_url (the main image, null without one).
Path parameters
| Name | Type | Description |
|---|---|---|
productId
required
|
integer |
Store-scoped product id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
404RECOMMENDATION_PRODUCT_NOT_FOUNDA product id does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Set pinned recommendations
Replace one product's ordered pinned recommendations.
Pinned products show first in the product's related rail, in this order, before the rules fill the rest. Send at most pins_max_per_product ids; an empty array removes every pin. A product cannot pin itself, repeat a related product or pin a gift-only product. Drafts can be pinned and show once active and published; excluded or, with hide_out_of_stock, sold-out pins are skipped. A successful update publishes recommendations/pins/update.
Path parameters
| Name | Type | Description |
|---|---|---|
productId
required
|
integer |
Store-scoped product id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
related_ids
required
|
array<integer> |
Related product ids in display order. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
404RECOMMENDATION_PRODUCT_NOT_FOUNDA product id does not exist in this store.
-
400RECOMMENDATION_PINS_TOO_MANYMore than pins_max_per_product ids; params.max gives the limit.
-
400RECOMMENDATION_PIN_SELFrelated_ids contains the product itself.
-
400RECOMMENDATION_PIN_DUPLICATErelated_ids repeats an id.
-
400RECOMMENDATION_PIN_GIFT_ONLYA related product is gift-only, so it can never show in a rail; details.product_ids lists them.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
List recommendation exclusions
List products excluded from all recommendations.
Compact product references are returned with the ID list, each with image_url (the main image, null without one).
Query parameters
| Name | Type | Description |
|---|---|---|
page
|
integer |
Page number. |
limit
|
integer |
Page size bounded by the limits response. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400RECOMMENDATION_LIST_INVALID_PAGEpage is below 1 or past the readable range.
-
400RECOMMENDATION_LIST_INVALID_LIMITlimit is below 1 or above list_max_limit; params.max gives the maximum.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Exclude a product
Exclude a product from all recommendations.
Exclusions apply to pinned products as well as automatic and recently-viewed recommendations. They do not unpublish the product. Excluding a product that is already excluded succeeds without a change. A store can exclude at most exclusions_max_per_store products. A change publishes recommendations/exclusions/update.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
product_id
required
|
integer |
Product id. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
404RECOMMENDATION_PRODUCT_NOT_FOUNDA product id does not exist in this store.
-
400RECOMMENDATION_EXCLUSIONS_TOO_MANYThe store already excludes exclusions_max_per_store products; params.max gives the limit.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Remove a recommendation exclusion
Allow a product to be recommended automatically again.
The operation is idempotent: removing a product that is not excluded succeeds without a change.
Path parameters
| Name | Type | Description |
|---|---|---|
productId
required
|
integer |
Store-scoped product id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
404RECOMMENDATION_PRODUCT_NOT_FOUNDA product id does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe request body has a property; this endpoint takes no body. Send no body or an empty object
{}. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Exclude products in bulk
Exclude several products from all recommendations in one request.
Send at most exclusions_max_per_store product ids. The change runs as one transaction: products already excluded count as succeeded without a change, unknown products fail with RECOMMENDATION_PRODUCT_NOT_FOUND, and products past the store's exclusions_max_per_store ceiling fail with RECOMMENDATION_EXCLUSIONS_TOO_MANY, in request order. succeeded lists the ids now excluded, changed counts the ones this request added, failed gives each failure's code and total is the store's exclusion count afterwards. Repeating the request changes nothing more. Each added product publishes recommendations/exclusions/update.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
product_ids
required
|
array<integer> |
Product ids to exclude, at most exclusions_max_per_store. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400RECOMMENDATION_EXCLUSIONS_TOO_MANYThe store already excludes exclusions_max_per_store products; params.max gives the limit.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Remove recommendation exclusions in bulk
Allow several products to be recommended automatically again in one request.
Send at most exclusions_max_per_store product ids. The change runs as one transaction: products that are not excluded count as succeeded without a change and unknown products fail with RECOMMENDATION_PRODUCT_NOT_FOUND. succeeded lists the ids no longer excluded, changed counts the ones this request removed, failed gives each failure's code and total is the store's exclusion count afterwards. Each removed product publishes recommendations/exclusions/update.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
product_ids
required
|
array<integer> |
Product ids to allow again, at most exclusions_max_per_store. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400RECOMMENDATION_EXCLUSIONS_TOO_MANYThe store already excludes exclusions_max_per_store products; params.max gives the limit.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Webhook events#
Recommendation exclusions updated
Fired when a product is added to or removed from recommendation exclusions.
Payload fields
| Field | Type | Description |
|---|---|---|
action |
string |
Selectable in the Payload builder |
product.id |
integer |
Always present |
product.title |
string |
Selectable in the Payload builder |
product.slug |
string |
Selectable in the Payload builder |
Pinned recommendations updated
Fired when a product's pinned recommendations change.
Payload fields
| Field | Type | Description |
|---|---|---|
product_id |
integer |
Always present |
pins[*].related_product_id |
integer |
Selectable in the Payload builder |
pins[*].position |
integer |
Selectable in the Payload builder |
products[*].id |
integer |
Always present |
products[*].title |
string |
Selectable in the Payload builder |
products[*].slug |
string |
Selectable in the Payload builder |
Recommendation rules updated
Fired when the recommendation rule chain changes.
Payload fields
| Field | Type | Description |
|---|---|---|
rules[*].match_kind |
string |
Selectable in the Payload builder |
rules[*].match_value |
string | null |
Selectable in the Payload builder |
rules[*].sort |
string |
Selectable in the Payload builder |
rules[*].position |
integer |
Selectable in the Payload builder |
rules[*].include_subcategories |
boolean |
Selectable in the Payload builder |
Recommendation settings updated
Fired when recommendation settings change.
Payload fields
| Field | Type | Description |
|---|---|---|
settings.related_limit |
integer |
Selectable in the Payload builder |
settings.recently_viewed_enabled |
boolean |
Selectable in the Payload builder |
settings.recently_viewed_limit |
integer |
Selectable in the Payload builder |
settings.history_window_days |
integer |
Selectable in the Payload builder |
settings.hide_out_of_stock |
boolean |
Selectable in the Payload builder |
settings.exclude_free_products |
boolean |
Selectable in the Payload builder |
settings.cross_device_history |
string |
Selectable in the Payload builder |