The input fields required to create or update a selling plan anchor.
Access Scopes
Fields
cutoffDay:
Int -
The cutoff day of the anchor.
If `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets
the days of the week according to ISO 8601, where 1 is Monday.
If `type` is MONTHDAY, then the value must be between 1-31.
If `type` is YEARDAY, then the value must be `null`.
This field should only be set if the cutoff field for the delivery policy is `null`.
day:
Int -
The day of the anchor.
If `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets
the days of the week according to ISO 8601, where 1 is Monday.
If `type` isn't WEEKDAY, then the value must be between 1-31.
month:
Int -
The month of the anchor. If type is different than YEARDAY, then the value must
be `null` or between 1-12.
type:
SellingPlanAnchorType -
Represents the anchor type, must be one of WEEKDAY, MONTHDAY, YEARDAY.