SellingPlanAnchor object
Represents a selling plan policy anchor.
Required access
Requires access to either all or app-owned selling plans.
On this page
Fields
- day (
[Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)
)
The day of the anchor.
Iftype
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.
Iftype
is not WEEKDAY, then the value must be between 1-31. - month (
[Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)
)
The month of the anchor. If type is different than YEARDAY, this field must be null, otherwise it must be between 1-12. - type (
[SellingPlanAnchorType!](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/sellingplananchortype)
)
Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY.
Types that return SellingPlanAnchor
[SellingPlanRecurringBillingPolicy.anchors](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/sellingplanrecurringbillingpolicy#anchors-2021-01)
[SellingPlanRecurringDeliveryPolicy.anchors](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/sellingplanrecurringdeliverypolicy#anchors-2021-01)
[SubscriptionBillingPolicy.anchors](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptionbillingpolicy#anchors-2021-01)
[SubscriptionDeliveryPolicy.anchors](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptiondeliverypolicy#anchors-2021-01)