API Reference

Represents how a product can be sold and purchased.

{} The plan's object

{
    "id": 503,
    "selling_plan_group_id": "gid://shopify/SellingPlanGroup/78665548050",
    "name": "Monthly Subscription new",
    "description": "Your will receive an order in every 1 Month",
    "selling_plans": [{
        "id": 503,
        "selling_plan_id": "gid://shopify/SellingPlan/691528040722",
        "delivery_policy": {
            "frequency": 1,
            "interval": "month",
            "auto_expire": {
                "frequency": 12,
                "interval": "month"
            },
            "anchors": {
                "type": "MONTHDAY",
                "value": [10, 20]
            },
            "pre_anchor_behavior": "ASAP",
            "cutoff": 0
        },
        "billing_policy": {
            "frequency": 1,
            "interval": "month"
        },
        "pricing_polices": [{
            "discount": {
                "type": "percentage",
                "value": 50
            }
        }]
    }],
    "shipping_policy": {
        "type": "ecommerce_calculated_rates",
        "price": null
    },
    "product_count": 1,
    "status": "active",
    "created_at": "2024-03-21 16:54:59",
    "updated_at": "2024-05-17 22:36:11"
}

The Plan Resource

Please refer to the plan resource available here.