AdminGetProductsVariantsParams
Properties
idstring | string[]IDs to filter product variants by.
fieldsstringComma-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.expandstringComma-separated relations that should be expanded in the returned data.
offsetnumberThe number of items to skip when retrieving a list.
Default: 0
limitnumberLimit the number of items returned in the list.
Default: 100
qstringSearch term to search product variants' title, sku, and products' title.
orderstringThe 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_quantitynumber | NumericalComparisonOperatorNumber filters to apply on product variants'
inventory_quantity field.manage_inventorybooleanFilter product variants by whether their inventory is managed or not.
allow_backorderbooleanFilter product variants by whether they are allowed to be backordered or not.
created_atDateComparisonOperatorDate filters to apply on the product variants' created_at date.
created_atDateComparisonOperatorcreated_at date.updated_atDateComparisonOperatorDate filters to apply on the product variants' updated_at date.
updated_atDateComparisonOperatorupdated_at date.Was this section helpful?