Last update:
December 17, 2024
purchaseRequests query¶
This query allows you to retrieve a list of purchase requests based on specific filters and sorting options.
Arguments¶
Argument | Description |
---|---|
after String |
The cursor for pagination to retrieve records after the specified position. |
first Int |
The number of purchase requests to retrieve. |
keyword String |
A search term to filter purchase requests by matching text in relevant fields. |
sort String |
The sorting criteria. Example: desc:createDate for descending order by creation date. |
storeId String |
The ID of the store to retrieve purchase requests from. |
customerId String |
The Id of the customer to filter purchase requests. |
Possible returns¶
Possible return | Description |
---|---|
PurchaseRequestConnection |
A list of purchase request objects matching the specified filters and sort criteria. |