Skip to main content
Anchor to SellingPlanDeliveryPolicy

SellingPlanDeliveryPolicy

union

Requires read_products 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.

•OBJECT

Represents a fixed selling plan delivery policy.

•[SellingPlanAnchor!]!
non-null

The specific anchor dates upon which the delivery interval calculations should be made.

•Int

A buffer period for orders to be included in next fulfillment anchor.

Anchor to fulfillmentExactTimefulfillmentExactTime
•DateTime

The date and time when the fulfillment should trigger.

•SellingPlanFulfillmentTrigger!
non-null

What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.

•SellingPlanFixedDeliveryPolicyIntent!
non-null

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.

•SellingPlanFixedDeliveryPolicyPreAnchorBehavior!
non-null

The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.

•OBJECT

Represents a recurring selling plan delivery policy.

•[SellingPlanAnchor!]!
non-null

The specific anchor dates upon which the delivery interval calculations should be made.

•DateTime!
non-null

The date and time when the selling plan delivery policy was created.

•Int

Number of days which represent a buffer period for orders to be included in a cycle.

•SellingPlanRecurringDeliveryPolicyIntent!
non-null

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.

•SellingPlanInterval!
non-null

The delivery frequency, it can be either: day, week, month or year.

•Int!
non-null

The number of intervals between deliveries.

•SellingPlanRecurringDeliveryPolicyPreAnchorBehavior!
non-null

The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.


Was this section helpful?

Anchor to Fields with this unionFields with this union

•OBJECT

Represents how a product can be sold and purchased. Selling plans and associated records (selling plan groups and policies) are deleted 48 hours after a merchant uninstalls their subscriptions app. We recommend backing up these records if you need to restore them later.

For more information on selling plans, refer to Creating and managing selling plans.


Was this section helpful?