ProductVariantSortKeys
enum
Available sorting keys for ProductVariant queries.
Values
ID
Sort in ascending order based on
id.INVENTORY_LEVELS_AVAILABLE
Sort in ascending order based on the available inventory quantity at the specified location. Do not use this sorting key if
query:"location_id:" is not specified in the query.INVENTORY_MANAGEMENT
Sort in ascending order based on
inventory_management.INVENTORY_POLICY
Sort in ascending order based on
inventory_policy.INVENTORY_QUANTITY
Sort in ascending order based on inventory_quantity.
Status and error codes
For detailed information about common codes, see Status and error codes.
Map
Argument from
ProductVariantSortKeys
Was this article helpful to you?