inventory_sync

Arguments

ArgumentTypeRequiredDefaultDescription
dataInventorySyncInput!Yes

Return Type

InventorySyncOutput

Mutation

mutation inventory_sync(
  $data: InventorySyncInput!
) {
  inventory_sync(
    data: $data
  ) {
    request_id
    complexity
    sync_id
  }
}

Variables

{
  "data": {
    "customer_account_id": "abc123",
    "url": "abc123",
    "warehouse_id": "abc123"
  }
}

Response

{
  "data": {
    "inventory_sync": {
      "request_id": "abc123",
      "complexity": 987,
      "sync_id": "abc123"
    }
  }
}