SellingPlanAnchor object

Version unstable

Represents a selling plan policy anchor.

Required access

read_products access scope.

Fields

  • 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 is not WEEKDAY, then the value must be between 1-31.

  • month (Int)

    The month of the anchor. If type is different than YEARDAY, this field must be null, otherwise it must be between 1-12.

  • Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY.

Types that return SellingPlanAnchor

Version 2021-10 (Release candidate)

Represents a selling plan policy anchor.

Required access

read_products access scope.

Fields

  • 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 is not WEEKDAY, then the value must be between 1-31.

  • month (Int)

    The month of the anchor. If type is different than YEARDAY, this field must be null, otherwise it must be between 1-12.

  • Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY.

Types that return SellingPlanAnchor

Version 2021-07 (Latest)

Represents a selling plan policy anchor.

Required access

read_products access scope.

Fields

  • 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 is not WEEKDAY, then the value must be between 1-31.

  • month (Int)

    The month of the anchor. If type is different than YEARDAY, this field must be null, otherwise it must be between 1-12.

  • Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY.

Types that return SellingPlanAnchor

Version 2021-04

Represents a selling plan policy anchor.

Required access

read_products access scope.

Fields

  • 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 is not WEEKDAY, then the value must be between 1-31.

  • month (Int)

    The month of the anchor. If type is different than YEARDAY, this field must be null, otherwise it must be between 1-12.

  • Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY.

Types that return SellingPlanAnchor

Version 2021-01

Represents a selling plan policy anchor.

Required access

read_products access scope.

Fields

  • 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 is not WEEKDAY, then the value must be between 1-31.

  • month (Int)

    The month of the anchor. If type is different than YEARDAY, this field must be null, otherwise it must be between 1-12.

  • Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY.

Types that return SellingPlanAnchor