inventory_sync_abort

Arguments

ArgumentTypeRequiredDefaultDescription
dataAbortInventorySyncInput!Yes

Return Type

AbortInventorySyncOutput

Mutation

mutation inventory_sync_abort(
  $data: AbortInventorySyncInput!
) {
  inventory_sync_abort(
    data: $data
  ) {
    request_id
    complexity
    sync {
      ...InventorySyncStatusFragment
    }
  }
}

Variables

{
  "data": {
    "sync_id": "UmVjb3JkOjEyMzQ=",
    "reason": "Customer requested expedited handling."
  }
}

Response

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