younifyd
Menu

List values

List values

GET/v1/filters/{groupName}/values

Use it in a workflow

  1. Add a step and choose the SCAYLE Storefront connector.
  2. Pick the List values action (under filters).
  3. Fill in the fields below, then reference the result from later steps as {{listValues.response.data}}.

Request

Path parameters

groupNamestringrequired

Group Name

Query parameters

shopIdinteger

The numeric ID of the shop to resolve the request against. Every shop in a multi-shop setup has a unique `shopId`. **Priority:** `shopId` (or the `X-Shop-Id` header) takes precedence over all other shop identification parameters. When `shopId` is present, `shopKey`, `countryCode`, and `locale` are ignored entirely. **Alternative:** If neither `shopId` nor `X-Shop-Id` is provided, you must supply all three of `shopKey`, `countryCode`, and `locale` together to identify the shop.

shopKeystring

The unique string key identifying the shop (e.g. `sa`, `de`). **Must be provided together with `countryCode` and `locale`** as a query-parameter alternative to `shopId`. All three parameters are mandatory when using this identification method — omitting any one of them results in a validation error. Ignored when `shopId` or the `X-Shop-Id` header is present.

countryCodestring

The ISO 3166-1 alpha-2 country code of the shop (e.g. `DE`, `AT`). Automatically normalised to uppercase. **Must be provided together with `shopKey` and `locale`** as a query-parameter alternative to `shopId`. All three parameters are mandatory when using this identification method — omitting any one of them results in a validation error. Ignored when `shopId` or the `X-Shop-Id` header is present.

localestring

The locale of the shop (e.g. `en_GB`, `de_DE`). Used to validate that the resolved shop's locale matches the requested locale. **Must be provided together with `shopKey` and `countryCode`** as a query-parameter alternative to `shopId`. All three parameters are mandatory when using this identification method — omitting any one of them results in a validation error. Ignored when `shopId` or the `X-Shop-Id` header is present.

filters[category]array<integer>

Filter the products which belong to a specific category.

Default []

filters[term]string

Term-based search that returns products where the provided search term matches the name or attribute value within the products. E.g., `filters[term]=blue shirts` __Note__: The attributes used for searching are [configured](/en/user-guide/shops/storefront/search#searchable-attributes) in the Panel. Unless the shop uses the default search fields, at least one searchable attribute must be configured — otherwise a request using this parameter results in a validation error. The API will split the searched term into multiple words. Then it will try to match each of these words against products' name and searchable attributes. The better the searched term matches against a product, the higher the product is returned. But it only requires a single word to match for a product to be returned. A detailed explanation of the functionality can be found in [SCAYLE Panel developer guide](/en/developer-guide/products/search#text-search)

Default null

disableFuzzinessboolean

It disables the typo tolerance value configured for this request. When the parameter is not provided, the typo tolerance is automatically applied according to the [typo tolerance configuration](/en/onboarding-guide/onboarding-frontend/search-in-panel#typo-tolerance) in SCAYLE panel.

Default false

filters[isNew]boolean

You can include only results for products with the specified `is_new` state. * The `filters[isNew]=true` parameter only retrieves products which are considered new. * The `filters[isNew]=false` parameter only retrieves products which are not considered new. __When is a product considered as `new`?__: Products are considered "new" when they were inserted into the shop within a period of 28 days. This value can be adjusted accordingly for each shop.

Default null

filters[sellableAt]string

Retrieve products sellable within a specific timeframe. __Note__: The provided value shall be datetime in the RFC3339 format: "2020-10-13T00:00:00Z"

Default null

filtersobject

Only include results with the specified attribute ID for the attribute parameter `attributeKey`, e.g., `filters[brand]=882`. * Any attribute available on the products via `with=attributes` might be used as a filter.

Default {}

filters:notobject

Exclude results with the specified attribute value for the attribute parameter `attributeKey`, e.g., `filters:not[brand]=882&filters:not[color]=549`. * Any attribute available on the products via `with=attributes` might be used as a filter exclusion. * You can provide multiple not filters (e.g., retrieve all products that are not red and not from brand Nike) in the query and multiple values for a single attribute, e.g., `filters:not[color]=545,345`

Default {}

campaignKeystring

Adjust prices based on the specified `campaignKey`. If provided campaign doesn't exist, the default price is returned. Please note, that campaign prices are stored in advance and available earlier than the campaign starts.

Default null

Headers

X-Shop-Idinteger

The numeric ID of the shop to resolve the request against. Every shop in a multi-shop setup has a unique shop ID. **Priority:** `X-Shop-Id` (or the `shopId` query parameter) takes precedence over all other shop identification parameters. When this header is present, `X-Shop-Key`, `X-Country-Code`, and `X-Locale` are ignored entirely. **Alternative:** If neither `X-Shop-Id` nor `shopId` is provided, you must supply all three of `X-Shop-Key`, `X-Country-Code`, and `X-Locale` together to identify the shop.

Default null

X-Shop-Keystring

The unique string key identifying the shop (e.g. `sa`, `de`). **Must be provided together with `X-Country-Code` and `X-Locale`** as a header-based alternative to `X-Shop-Id`. All three headers are mandatory when using this identification method — omitting any one of them results in a validation error. Ignored when `X-Shop-Id` or the `shopId` query parameter is present.

X-Country-Codestring

The ISO 3166-1 alpha-2 country code of the shop (e.g. `DE`, `AT`). Automatically normalised to uppercase. **Must be provided together with `X-Shop-Key` and `X-Locale`** as a header-based alternative to `X-Shop-Id`. All three headers are mandatory when using this identification method — omitting any one of them results in a validation error. Ignored when `X-Shop-Id` or the `shopId` query parameter is present.

X-Localestring

The locale of the shop (e.g. `en_GB`, `de_DE`). Used to validate that the resolved shop's locale matches the requested locale. **Must be provided together with `X-Shop-Key` and `X-Country-Code`** as a header-based alternative to `X-Shop-Id`. All three headers are mandatory when using this identification method — omitting any one of them results in a validation error. Ignored when `X-Shop-Id` or the `shopId` query parameter is present.

Response

Returns 200 with a array<oneOf>. Read it in later steps with {{listValues.response.data.<field>}}.

Need more? See the SCAYLE Storefront guide for connection setup and behaviour shared by every action.