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": "QWNjb3VudDoxMjM0",
    "url": "https://example.com/resource",
    "warehouse_id": "SW52ZW50b3J5U3luY0JhdGNoOjEyMzQ="
  }
}

Response

{
  "data": {
    "inventory_sync": {
      "request_id": "UmVjb3JkOjEyMzQ=",
      "complexity": 100,
      "sync_id": "SW52ZW50b3J5U3luY0JhdGNoOjEyMzQ="
    }
  }
}