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": "T3JkZXI6MTIzNA==",
    "staging_location_id": "TG9jYXRpb246MTIzNA=="
  }
}

Response

{
  "data": {
    "wholesale_order_update_staging_location": {
      "request_id": "UmVjb3JkOjEyMzQ=",
      "complexity": 100,
      "wholesale_order": {id: "T3JkZXI6MTIzNA==", order_number: "SO-100045"}
    }
  }
}