inventory_sync_status
Fetch inventory sync status matching the supplied arguments.
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
id | String | No | Filter by ID; pass the public API ID unless the field name says legacy ID. | |
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
Query
query inventory_sync_status(
$id: String,
$analyze: Boolean
) {
inventory_sync_status(
id: $id,
analyze: $analyze
) {
request_id
complexity
data {
id
url
user_id
account_id
warehouse_id
customer_account_id
total_count
status
error
created_at
updated_at
success_count
error_count
finished_count
}
}
}Variables
{
"id": "UmVjb3JkOjEyMzQ=",
"analyze": true
}Response
{
"data": {
"inventory_sync_status": {
"request_id": "UmVjb3JkOjEyMzQ=",
"complexity": 100,
"data": {id: "SW52ZW50b3J5U3luY1N0YXR1czoxMjM0"}
}
}
}