stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > SellingPlanAnchor

AdminTypes.SellingPlanAnchor interface

Represents a selling plan policy anchor.

Signature:

export interface SellingPlanAnchor 

Properties

Property Modifiers Type Description
cutoffDay?   Maybe<Scalars[‘Int’][‘output’]> <p>(Optional) The cutoff day for 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>
day   Scalars[‘Int’][‘output’] <p>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?   Maybe<Scalars[‘Int’][‘output’]> (Optional) The month of the anchor. If type is different than YEARDAY, then the value must be null or between 1-12.
type   SellingPlanAnchorType | `${SellingPlanAnchorType}` Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY.