SubscriptionProduct
A sellable subscription product: the organisation's hand-maintained catalogue of what a customer subscription or a subscription type can bill for.
- Summary view
- SubscriptionProductList, 15 fields. What a list returns by default.
- Detail view
- SubscriptionProduct, 15 fields. The default for a single read and for every write.
Subscription lines point at a product and inherit its price, interval and VAT rate.
Used by
/subscription-products/{subscription_product}/actions/restoreSubscriptionProductFields
- Detail only
- Only in the detail view.
- Only with include
- Only when you ask for it with include.
- Server-assigned
- Set by plnnrly, never by a request.
Invoice-line template for subscription lines built from this product. Supports the placeholder tokens {{$domain}}, {{$site}}, {{$server}}, {{$period}}, {{$product}} and {{$customer}}, which are filled in when the line is invoiced; the template itself is kept verbatim.
What the product costs us, as a decimal string. Null when unknown.
2 decimal places, may be negative
What the customer is billed per interval, as a decimal string. Null when the line carries its own price.
2 decimal places, may be negative
Interval the sales price is charged per.
yearlymonthlyone-time
New values may be added.
Whether this is a hosting product: one sold against a concrete site or server, which is what lets a subscription line name the infrastructure it covers.
VAT rate as a whole percentage: 21 means 21%, not 0.21. Null when the rate is decided at invoicing time.
Exact Online article this product maps to, by Exact's own external identifier (exact_items.exact_id), not by a local id.
Exact Online cost centre, by code (exact_cost_centers.code), not by id.
Variants
SubscriptionProductList 15 fields
What a collection returns, and what ?view=summary returns on a single record.
The same fields as the detail object.
SubscriptionProductSummary 2 fields
The embedded form: what you get when another resource carries this one and you did not include it.
Leaves out: description, purchase_price, sales_price, price_interval, is_hosting, vat_rate, exact_item_id, exact_vat_code, exact_cost_center, created_at, updated_at, deleted_at, links
SubscriptionProductLinks 1 field
The links object on this resource.
Keys: self
Something wrong or missing on this page? Tell us