Skip to main content
Skip to main content

StoreGetVariantsParams

Parameters used to filter and configure the pagination of the retrieved product variants.

constructor


Properties

cart_idstring
Retrieve prices for a cart ID.
currency_codestring
Retrieve prices for a currency code.
expandstring
Comma-separated relations that should be expanded in the returned data.
fieldsstring
Comma-separated fields that should be included in the returned data.
idstring | string[]
IDs to filter product variants by.
idsstring
ID to filter the product variants by.
inventory_quantitynumber | NumericalComparisonOperator
Number filters to apply on the product variants' inventory_quantity field.
limitnumber
Limit the number of items returned in the list.

Default: 100

offsetnumber
The number of items to skip when retrieving a list.

Default: 0

region_idstring
Retrieve prices for a region ID.
sales_channel_idstring
Filter product variants by the ID of their associated sales channel.
titlestring | string[]
Titles to filter product variants by.
Was this section helpful?