Use these operations to access Storefront plans.
Storefront operations interact directly with the customer, and provide the customer with access to their own data.
To use Storefront operations, the customer must be issued a JWT with limited permissions. For more information, see Create a session with username and password and Exchange an authentication token. Storefront operations are intended to be used directly from an untrusted browser.
Retrieves a list of plans.
Criteria for filtering collection items. This field requires a special format. Use , to specify multiple allowed values. Use ; to specify multiple fields.
For more information, see Search filters.
Expands a request to include embedded objects within the _embedded property of the response. This field accepts a comma-separated list of objects.
For more information, see Embedded resources.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/storefront/plans
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/storefront/plans
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/storefront/plans
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/storefront/plans?filter=string&sort=string&limit=1000&offset=1000&q=string&expand=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'List of plans retrieved.
Name of the plan. This name is displayed on invoices and receipts.
Rich-text description of the plan. This field accepts rich text formatting, such as: bold, underline, italic, and hyperlinks.
ID of the related product.
Name-value pairs that specify the product options.
{ "color": "red", "size": "xxl" }
Use custom fields to extend a resource scheme to include custom data that is not provided as a common field. For more information, see Custom fields.
{ "foo": "bar" }
Number of times the plan is modified. Compare this value with materialized subscription item revision values.
Trial configuration setting. If you do not want to offer a trial, set this value to null.
Use metered billing when an exact quantity is unknown. Report usage during a service period and charge customers afterwards. Metered billing plans must be postpaid.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
- fixed-fee
- flat-rate
- stairstep
- tiered
- volume
[ { "id": "plan_0YV7DENSVGDBW9S71XZNNYYQ0X", "name": "string", "description": "string", "richDescription": "string", "productId": "prod_0YV7DES3WPC5J8JD8QTVNZBZNZ", "productOptions": { … }, "currency": "USD", "currencySign": "string", "pricing": { … }, "setup": { … }, "customFields": { … }, "isActive": true, "revision": 0, "trial": { … }, "meteredBilling": { … }, "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_embedded": { … }, "_links": [ … ] } ]