inventory_sync_items_status
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
id | String! | Yes | ||
status | String | No | Any of the following statuses: pending: Queued for processing processing: Being processed success: Finished successfully error: Matches all error states below error_unknown: Unknown error occurred error_not_found: Product was not found Multiple statuses can be combined using: , e.g. status: "pending,processing" One or more statuses can be excluded using: ! e.g. status: "!error_not_found" | |
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
Query
query inventory_sync_items_status(
$id: String!,
$status: String,
$analyze: Boolean
) {
inventory_sync_items_status(
id: $id,
status: $status,
analyze: $analyze
) {
request_id
complexity
data {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
row
sku
quantity
action
reason
location
status
error
created_at
updated_at
}
cursor
}
}
}
}Variables
{
"id": "abc123",
"status": "abc123",
"analyze": true
}Response
{
"data": {
"inventory_sync_items_status": {
"request_id": "abc123",
"complexity": 987,
"data": InventorySyncItemStatusConnection
}
}
}