SellingPlanDeliveryPolicy
Requires access scope.
Represents the delivery frequency associated to the selling plan (for example, deliver every month, or deliver every other week). The selling plan delivery policy and associated records (selling plan groups, selling plans, pricing policies, and billing policy) are deleted 48 hours after a merchant uninstalls their subscriptions app. We recommend backing up these records if you need to restore them later.
Anchor to Possible typesPossible types
- •OBJECT
Represents a fixed selling plan delivery policy.
- anchors•[Sellingnon-null
Plan Anchor!]! The specific anchor dates upon which the delivery interval calculations should be made.
- cutoff•Int
A buffer period for orders to be included in next fulfillment anchor.
- fulfillment
Exact •Time DateTime The date and time when the fulfillment should trigger.
- fulfillment
Trigger •Sellingnon-nullPlan Fulfillment Trigger! What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.
- intent•Sellingnon-null
Plan Fixed Delivery Policy Intent! Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
- pre
Anchor •Behavior Sellingnon-nullPlan Fixed Delivery Policy Pre Anchor Behavior! The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is
.
- anchors•
- •OBJECT
Represents a recurring selling plan delivery policy.
- anchors•[Sellingnon-null
Plan Anchor!]! The specific anchor dates upon which the delivery interval calculations should be made.
- created
At •Datenon-nullTime! The date and time when the selling plan delivery policy was created.
- cutoff•Int
Number of days which represent a buffer period for orders to be included in a cycle.
- intent•Sellingnon-null
Plan Recurring Delivery Policy Intent! Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
- interval•Sellingnon-null
Plan Interval! The delivery frequency, it can be either: day, week, month or year.
- interval
Count •Int!non-null The number of intervals between deliveries.
- pre
Anchor •Behavior Sellingnon-nullPlan Recurring Delivery Policy Pre Anchor Behavior! The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is
.
- anchors•
Anchor to Fields with this unionFields with this union
- •OBJECT
A selling plan policy which describes the delivery details.