createPlannedDeliveryItem
Topics: Logistics
createPlannedDeliveryItem; structural validation only, no lifecycle gates. Requires plannedDelivery:write
Examples
Plan Logistics Delivery Item
mutation PlanLogisticsDeliveryItem($input: PlannedDeliveryItemInput!) {
createPlannedDeliveryItem(input: $input) {
plannedDeliveryItem { id version requestedQuantity allocatedQuantity }
errors { path message }
}
}Variables
{
"input": {
"plannedDeliveryId": "pdl_000000e48h848r248h248h248h",
"jobId": "job_000000248h848r248h248h248h",
"orderLineId": "oln_000001848h848r248h248h248h",
"description": "Autumn brochures — finished copies",
"requestedQuantity": 5000
}
}Exact field SDL
"""
createPlannedDeliveryItem; structural validation only, no lifecycle gates. Requires plannedDelivery:write
"""
createPlannedDeliveryItem(
"""input"""
input: PlannedDeliveryItemInput!
): PlannedDeliveryItemPayload! @topic(names: ["logistics"]) @topic_example(names: ["logistics.plan-delivery-item"])Declared on Mutation. Access is checked by the platform for each operation.