createShipmentItemAllocation
Topics: Logistics
createShipmentItemAllocation; structural validation only, no lifecycle gates. Requires plannedDelivery:write and shipment:write
Examples
Allocate Logistics Delivery
mutation AllocateLogisticsDelivery($input: ShipmentItemAllocationInput!) {
createShipmentItemAllocation(input: $input) {
shipmentItemAllocation { id version quantity shipmentItemId plannedDeliveryItemId }
errors { path message }
}
}Variables
{
"input": {
"shipmentItemId": "sit_000001248h848r248h248h248h",
"plannedDeliveryItemId": "pdi_000000g48h848r248h248h248h",
"quantity": 2000
}
}Exact field SDL
"""
createShipmentItemAllocation; structural validation only, no lifecycle gates. Requires plannedDelivery:write and shipment:write
"""
createShipmentItemAllocation(
"""input"""
input: ShipmentItemAllocationInput!
): ShipmentItemAllocationPayload! @topic(names: ["logistics"]) @topic_example(names: ["logistics.allocate-delivery"])Declared on Mutation. Access is checked by the platform for each operation.