inventory_sync_items_status

Arguments

ArgumentTypeRequiredDefaultDescription
idString!Yes
statusStringNo

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"

analyzeBooleanNo

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

Return Type

InventorySyncRowsQueryResult

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 {
      ...InventorySyncItemStatusConnectionFragment
    }
  }
}

Variables

{
  "id": "abc123",
  "status": "abc123",
  "analyze": true
}

Response

{
  "data": {
    "inventory_sync_items_status": {
      "request_id": "abc123",
      "complexity": 987,
      "data": InventorySyncItemStatusConnection
    }
  }
}