wholesale_order_update_staging_location

Arguments

ArgumentTypeRequiredDefaultDescription
dataUpdateWholesaleOrderStagingLocationInput!Yes

Return Type

WholesaleOrderMutationOutput

Mutation

mutation wholesale_order_update_staging_location(
  $data: UpdateWholesaleOrderStagingLocationInput!
) {
  wholesale_order_update_staging_location(
    data: $data
  ) {
    request_id
    complexity
    wholesale_order {
      ...WholesaleOrderFragment
    }
  }
}

Variables

{
  "data": {
    "order_id": "abc123",
    "staging_location_id": "abc123"
  }
}

Response

{
  "data": {
    "wholesale_order_update_staging_location": {
      "request_id": "abc123",
      "complexity": 987,
      "wholesale_order": WholesaleOrder
    }
  }
}