supplyStartPOMilestone
Initiates a purchase order milestone and updates the PO status to the milestone's initial status.
Authentication
Authentication is required. Unauthenticated requests will fail.
Permissions
Requires supply:update_milestones permission for the purchase
order's brand.
Business Rules
- Previous milestone must be completed before starting next milestone
- Cannot start a milestone that has already been started
- Cannot start a milestone that is already completed
- Cannot start earlier milestones once PO has advanced to later milestones
- Starting a milestone updates the PO status to the milestone's initial status
Possible Errors
- Authentication error if not logged in
- Permission error if lacking access to the brand
- Milestone not found
- Milestone already started
- Milestone already completed
- Previous milestone not completed yet
- Attempting to start earlier milestone than current PO milestone
supplyStartPOMilestone(
input: StartPOMilestoneInput!
): StatusResponse!
Arguments
supplyStartPOMilestone.input ● StartPOMilestoneInput! non-null input
Parameters for StartPOMilestone
Type
StatusResponse object
The response of a mutation that only returns a status