Skip to main content
Anchor to SellingPlanAnchorInput

SellingPlanAnchorInput

input_object

The input fields required to create or update a selling plan anchor.

•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.

•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.

•Int

The month of the anchor. If type is different than YEARDAY, then the value must be null or between 1-12.

•SellingPlanAnchorType

Represents the anchor type, must be one of WEEKDAY, MONTHDAY, YEARDAY.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•INPUT OBJECT

The input fields required to create or update a fixed delivery policy.

•INPUT OBJECT

The input fields required to create or update a recurring billing policy.

•INPUT OBJECT

The input fields to create or update a recurring delivery policy.

•INPUT OBJECT

The input fields for a Subscription Billing Policy.

•INPUT OBJECT

The input fields for a Subscription Delivery Policy.


Was this section helpful?