Hello! I am building a subscription application and I am a bit confused on how anchors interact with intervals.
During development I was originally under the assumption that anchors and intervals were mutually exclusive, I thought the anchors divided the calendar year into a set number of intervals depending on the length of interval chosen. That does not appear to be the case.
For example, lets say I want to have a 3 month subscription interval. This divides the calendar year into 4 segments. Now lets say I have an anchor set for 15 MONTHDAY (15th of the month). How does shopify know which 15th of the month to pick in the interval? Month 1, Month 2, or Month 3?
Could you please provide an example of a selling plan object which uses a quarterly billing and delivery cycle using anchors so we may see a correct example as the subscriptions API intends, there is one example in the selling plan documentation but it is only for a single anchor.
Assume all quarters must be billed on the last Monday of the quarter.
Q1: January 1st - March 31st
Q2: April 1st - June 30th
Q3: July 1st - September 30th
Q4: October 1st - December 31st
It would also be helpful to update the documentation here to include examples of odd interval/anchor combinations. Usage examples are given but no implementation examples.
Thank you!