AdminGetProductsVariantsParams
Properties
id
string | string[]IDs to filter product variants by.
fields
stringComma-separated fields that should be included in the returned data.
if a field is prefixed with
+
it will be added to the default fields, using -
will remove it from the default fields.
without prefix it will replace the entire default fields.expand
stringComma-separated relations that should be expanded in the returned data.
offset
numberThe number of items to skip when retrieving a list.
Default: 0
limit
numberLimit the number of items returned in the list.
Default: 100
q
stringSearch term to search product variants' title, sku, and products' title.
order
stringThe field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with
-
.inventory_quantity
number | NumericalComparisonOperatorNumber filters to apply on product variants'
inventory_quantity
field.manage_inventory
booleanFilter product variants by whether their inventory is managed or not.
allow_backorder
booleanFilter product variants by whether they are allowed to be backordered or not.
created_at
DateComparisonOperatorDate filters to apply on the product variants' created_at
date.
created_at
DateComparisonOperatorcreated_at
date.updated_at
DateComparisonOperatorDate filters to apply on the product variants' updated_at
date.
updated_at
DateComparisonOperatorupdated_at
date.Was this section helpful?