Home > @infiniteobjects/shopify-data-manager > AdminTypes > SellingPlanAnchorInput
The input fields required to create or update a selling plan anchor.
Signature:
export interface SellingPlanAnchorInput
Property | Modifiers | Type | Description |
---|---|---|---|
cutoffDay? | InputMaybe<Scalars[‘Int’][‘input’]> | <p>(Optional) The cutoff day of the anchor.</p><p>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.</p><p>If type is MONTHDAY, then the value must be between 1-31.</p><p>If type is YEARDAY, then the value must be null .</p><p>This field should only be set if the cutoff field for the delivery policy is null .</p> |
|
day? | InputMaybe<Scalars[‘Int’][‘input’]> | <p>(Optional) The day of the anchor.</p><p>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.</p><p>If type isn’t WEEKDAY, then the value must be between 1-31.</p> |
|
month? | InputMaybe<Scalars[‘Int’][‘input’]> | (Optional) The month of the anchor. If type is different than YEARDAY, then the value must be null or between 1-12. |
|
type? | InputMaybe<SellingPlanAnchorType | `${SellingPlanAnchorType}`> | (Optional) Represents the anchor type, must be one of WEEKDAY, MONTHDAY, YEARDAY. |