Get a product's plans
Retrieves the plans of one product. Unlike GET /v1/subscriptions/plans, this endpoint requires both keys and does not fall back to the plans of a global product.
Admins and Developers can obtain their Bolt API key from the Bolt Merchant Dashboard. Send it together with X-Publishable-Key.
In: header
Path Parameters
ID of the product to retrieve plans for.
Query Parameters
Seller ID for Connect marketplace operations. Send it to read a product that belongs to a seller's Bolt Cart division.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v2/subscriptions/products/sp_Tlj0Osm0N76T/plans"{ "plans": [ { "id": "spl_ba_PpkW16oIW", "name": "Monthly", "sku": "CANVAS-AI-PRO-MONTHLY", "created_at": "2023-10-01T12:00:00Z", "updated_at": "2023-10-01T12:00:00Z", "frequency": 1, "frequency_unit": "month", "base_price": 0, "product_id": "sp_Tlj0Osm0N76T", "status": "active", "currency": "USD", "initial_period": { "frequency": 2, "frequency_unit": "week" }, "trial": { "trial_days": 14 } } ]}Get a product GET
Retrieves a product by its ID, including a product created through v1.
Subscription Webhooks POST
This request updates the merchant about statuses of their shoppers' subscriptions. The subscriptions' related events are: - `subscription_created` - `subscription_renewed` - `subscription_canceled` - `subscription_paused` - `subscription_unpaused` - `subscription_payment_failed` - `subscription_ended` A scheduled plan change or a cancel scheduled for the period end does not send its own event: it surfaces as `scheduled_change` on the subscription object inside every event above. Also see [API for managing webhooks](/api-reference/endpoints/webhooks/createwebhook/) for more details