order_update

Arguments

ArgumentTypeRequiredDefaultDescription
dataUpdateOrderInput!Yes

Return Type

OrderMutationOutput

Mutation

mutation order_update(
  $data: UpdateOrderInput!
) {
  order_update(
    data: $data
  ) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}

Variables

{
  "data": {
    "customer_account_id": "QWNjb3VudDoxMjM0",
    "order_id": "T3JkZXI6MTIzNA==",
    "order_number": "SO-100045",
    "partner_order_id": "SHOPIFY-100045",
    "fulfillment_status": "pending",
    "order_date": "2026-07-09T15:30:00Z",
    "total_tax": "19.99",
    "subtotal": "19.99",
    "total_discounts": "19.99",
    "total_price": "19.99",
    "box_name": "SO-100045",
    "ready_to_ship": true,
    "insurance_amount": 19.99,
    "required_ship_date": "2026-07-09T15:30:00Z",
    "allocation_priority": 1,
    "shipping_lines": {title: "Standard Shipping", price: "5.99"},
    "shipping_address": {address1: "123 Fulfillment Ave", city: "New York", country: "US"},
    "billing_address": {address1: "123 Billing St", city: "New York", country: "US"},
    "profile": "default",
    "packing_note": "Customer requested expedited handling.",
    "note_attributes": [[{id: "T3JkZXI6MTIzNA==", order_number: "SO-100045"}]],
    "tags": ["priority", "vip"],
    "gift_note": "Customer requested expedited handling.",
    "gift_invoice": true,
    "require_signature": true,
    "adult_signature_required": true,
    "alcohol": true,
    "insurance": true,
    "allow_partial": true,
    "allow_split": true,
    "priority_flag": true,
    "hold_until_date": "2026-07-09T15:30:00Z",
    "incoterms": "DAP",
    "tax_id": "UmVjb3JkOjEyMzQ=",
    "tax_type": "19.99",
    "history_entry": {source: "api", message: "Customer requested expedited handling."},
    "ignore_address_validation_errors": false,
    "skip_address_validation": false,
    "custom_invoice_url": "https://example.com/resource",
    "auto_print_return_label": true,
    "dry_ice_weight_in_lbs": "1.25",
    "ftr_exemption": 1.5,
    "address_is_business": true,
    "tote_qa": true,
    "do_not_print_invoice": false,
    "ignore_payment_capture_errors": false,
    "service_point_id": "UHVyY2hhc2VPcmRlcjoxMjM0",
    "partner_source_name": "shopify"
  }
}

Response

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