Skip to main content
The Add To Cart Popup query is used to get recommendations for a product that has just been added to the cart. It is typically used with the ADD_TO_CART_RECS algorithm. Note that the contents of the response object depends on which template is used, if any.

Request

application/json;charset=utf-8

AddToCartPopupRequestSettings

The add-to-cart-popup is typically used to return recommendations to show after the user has added a product to the cart. It is typically used with a ADD_TO_CART_RECS recommendation.
bash

Response

AddToCartPopupResult

The result object from a successful call to the add-to-cart-popup.

Inner Schemas

Badges

BadgeTheme (enum)

CustomAttribute

CustomPrice

Image

The object representation of an image.

ImageEffect (enum)

ImageInfo

The object representation of image information.

Measurement

Price

ProductBadge

ProductFilter

This feature will most likely be removed in new versions.
A product filter restricting which products that the listing may contain. Supports single values, lists, and (for numerical attributes) ranges. Listing multiple attributes to filter on will restrict the products to all conditions (logical AND). When listing values within one attribute, products with any of the listed properties apply (logical OR). In addition to built-in attributes, it is also possible to filter on custom facets, through prefixing the attribute to be filtered with custom., for example “custom.season”: [“Winter”, “Spring”]. At most 200 attribute values can be supplied per attribute and at most 100 product keys can be picked at once.

ProductGroup

The object representation of the product group result.

Product

The object representation of a product.

RangeAttribute

This feature will most likely be removed in new versions.
A min and max range value object for a specific attribute.

RecListRequestSettings

A configuration object for the recommendation list request. Most page types support recommendation lists. To include recommendation lists in a page response, the request body must include the recommendation configuration. Be aware that having many lists with complex rules/algorithms on a page may affect response times.

RecommendationProductList

The object representation of a recommendation product list.

RequestParams

Source

Swatch

Swatch information is used to generate swatches for different products. The type COLORS is the most common returned type and is accompanied by the actual colours as CSS colour codes. Special colour properties, supported in the data feed such as GOLD, SILVER, MULTI or TRANSPARENT are other possible return types. These are to be used to generate swatches matching these specific properties.

SwatchType (enum)

TypedCustomAttributes

VariantAvailabilityInfo

Represents availability in one store or online.

Variant

The object representation of a variant.

Visualization (enum)

Last modified on August 31, 2026