supplyUpdatePOMilestone
Updates the details of an existing purchase order milestone. Allows manual modification of the milestone's start date, actual completion date, description, and expected dates for planning and tracking purposes.
Authentication & Permissions
Requires the supply:update_milestones permission for the brand
that owns the purchase order.
Validation Rules
- At least one field must be provided for the update
- The expected start date cannot be after the expected complete date
Possible Errors
- **Milestone not found**: The specified milestone ID does not exist in the system
- **Permission denied**: The authenticated user lacks access to the brand associated with the milestone
- **Validation error**: One or more validation rules were violated (see validation rules above)
supplyUpdatePOMilestone(
input: UpdateMilestoneInput!
): POMilestone
Arguments
supplyUpdatePOMilestone.input ● UpdateMilestoneInput! non-null input common
Parameters for UpdateMilestone
Type
POMilestone object purchase-orders
Represents a milestone in a purchase order lifecycle, tracking progress from planning through delivery.