Skip to main content

supplyUpdatePOMilestone

Updates the details of an existing purchase order milestone. Allows modification of the milestone's 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
  • Cannot modify a milestone that has been completed
  • Cannot modify the expected start date once the milestone has started
  • Cannot modify the expected complete date once the milestone has been completed
  • 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

Parameters for UpdateMilestone

Type

POMilestone object

Represents a milestone in a purchase order lifecycle, tracking progress from planning through delivery.