products
query
An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Arguments
Returns the last n elements in the list.
Whether to reverse the order of the list.
● true: reverse
● false: do not reverse
Default value: false
Supported query parameters
| name | description |
|---|---|
| created_at | Search by product creation time, support range query. |
| updated_at | Search by product update time, support range query. |
| title | Precise search by product title. |
| tag | Precise search by product tag. |
| available_for_sale | Inventory search by product dimension. |
| vendor | Precise search by product vendor. |
| product_type | Precise search by product type. |
| variants.price | Price search by variant dimension, supports range query. |
Search syntax reference
variants.price:<100 OR (title:'Arc logo T-shirt' AND updated_at:>'2020-10-21T23:39:20Z')
tip
Only supports up to 5 parameters and will continue to be optimized in the future.
Sort the underlying list by the given key. The default is
UPDATED_ATSpecified product ID list, product ID is globally unique
Returns elements following the specified cursor. The
first argument must also be specified when using this argument.Returns elements preceding the specified cursor. The
last argument must also be specified when using this argument.Returns the first n elements in the list.
Return
A list of edges.
A list of the nodes contained in ProductEdge.
Information to aid in pagination.
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?