inventory_sync_status

Fetch inventory sync status matching the supplied arguments.

Arguments

ArgumentTypeRequiredDefaultDescription
idStringNo

Filter by ID; pass the public API ID unless the field name says legacy ID.

analyzeBooleanNo

If true, the query will only be analyzed (cost estimated) without executing it.

Return Type

InventorySyncBatchQueryResult

Query

query inventory_sync_status(
  $id: String,
  $analyze: Boolean
) {
  inventory_sync_status(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...InventorySyncStatusFragment
    }
  }
}

Variables

{
  "id": "UmVjb3JkOjEyMzQ=",
  "analyze": true
}

Response

{
  "data": {
    "inventory_sync_status": {
      "request_id": "UmVjb3JkOjEyMzQ=",
      "complexity": 100,
      "data": {id: "SW52ZW50b3J5U3luY1N0YXR1czoxMjM0"}
    }
  }
}