inbound_shipment_create

Arguments

ArgumentTypeRequiredDefaultDescription
dataCreateInboundShipmentInput!Yes

Return Type

CreateInboundShipmentOutput

Mutation

mutation inbound_shipment_create(
  $data: CreateInboundShipmentInput!
) {
  inbound_shipment_create(
    data: $data
  ) {
    request_id
    complexity
    inbound_shipment {
      ...InboundShipmentFragment
    }
  }
}

Variables

{
  "data": {
    "customer_account_id": "QWNjb3VudDoxMjM0",
    "warehouse_id": "V2FyZWhvdXNlOjEyMzQ=",
    "purchase_order_ids": ["UHVyY2hhc2VPcmRlcjoxMjM0", "UHVyY2hhc2VPcmRlcjo1Njc4"],
    "vendor_id": "VmVuZG9yOjEyMzQ=",
    "carrier": "ups",
    "pro_number": "PRO1234567",
    "bol_reference": "BOL-100045",
    "bol_url": "https://example.com/resource",
    "expected_dock": "Dock 3",
    "dock_used": "Dock 3",
    "container_number": "CONT-100045",
    "notes": "Customer requested expedited handling.",
    "estimated_truck_arrival": "2026-07-09T15:30:00Z",
    "scheduled_at": "2026-07-09T15:30:00Z",
    "truck_arrived_at": "2026-07-09T15:30:00Z",
    "truck_unload_started_at": "2026-07-09T15:30:00Z",
    "truck_unload_finished_at": "2026-07-09T15:30:00Z",
    "truck_departure_at": "2026-07-09T15:30:00Z",
    "booking_contact_email": "customer@example.com",
    "booking_contact_name": "Inbound Shipment 1001",
    "booking_contact_number": "+1-555-0100",
    "container_size": "M",
    "load_type": "palletized",
    "shipment_type": "transfer",
    "number_carton": 2,
    "pallets_quantity": 2,
    "people_for_unload": 2,
    "people_for_receiving": 2
  }
}

Response

{
  "data": {
    "inbound_shipment_create": {
      "request_id": "UmVjb3JkOjEyMzQ=",
      "complexity": 100,
      "inbound_shipment": {id: "SW5ib3VuZFNoaXBtZW50OjEyMzQ="}
    }
  }
}