markFulfillmentShipped
Marks a fulfillment as shipped in the V2 fulfillments state machine.
Marks a fulfillment for orders in the "accepted" state that have been sent. The fulfillment will transition from "sent" to "shipped" state when shipment information is received.
Requirements
- User must have
mark_fulfillment_shippedpermission - Valid brand context must be provided (via argument or X-Brand-Id header)
- Order must exist and be in "accepted" state (for V2 orders)
- Fulfillment must exist and be in "sent" state
- Shipment ID, tracking number, and shipped date are required
Arguments
fulfillment_id(required): The ID of the fulfillment to mark as shippedorder_id(required): The ID of the order the fulfillment belongs towarehouse_id(required): The ID of the warehouse where the fulfillment is processedfulfillment_integration_id(required): The ID of the fulfillment integrationshipment_id(required): The ID of the shipmenttracking_number(required): The tracking number for the shipmentshipped_date(required): The date when the shipment was shippedtracking_url(optional): The tracking URL for the shipmentcarrier_id(optional): The ID of the carriercarrier_service_id(optional): The ID of the carrier serviceexternal_carrier_code(optional): External carrier code from the integrationexternal_service_code(optional): External service code from the integrationweight(optional): The weight of the shipmentlength(optional): The length of the shipmentwidth(optional): The width of the shipmentheight(optional): The height of the shipmentcost(optional): The cost of the shipmentpackage_type(optional): The type of packagemetadata(optional): JSON metadata for the shipmentexternal_id(optional): External system reference ID
Behavior
- Marks fulfillment with "shipped" status
- Creates or updates OrderShipment record with shipment information
- Returns the shipped fulfillment
markFulfillmentShipped(
input: MarkFulfillmentShippedInput!
): OrderFulfillment!
Arguments
markFulfillmentShipped.input ● MarkFulfillmentShippedInput! non-null input
Parameters for MarkFulfillmentShipped
Type
OrderFulfillment object
This type represents an order fulfillment. An order can have multiple fulfillments, each one associated with a warehouse and a party that fulfilled the order.