Create a billing plan
POST
https://api.tamio.com/v2/products/create/billing-plan
Creates a recurring subscription product with configurable billing cycles, trial periods, retry logic, and cancellation behaviour.
Body Parameters
tax_category
string*
languages
LanguageContent*
pricing_model
array of object*
trial_period
integer
retries
integer
cancel_action
string
cancelpause
cancel_behaviour
string
immediateend_of_period
charge_shipping_during_trial
boolean
descriptor
string
stock
integer
unlimited_stock
boolean
stock_limit_warning
integer
on_sale
boolean
buyable
boolean
shown
boolean
discount_allowed
boolean
reviews_allowed
boolean
exclude_from_feed
boolean
hide_if_no_stock
boolean
allow_negative_stock
boolean
whitelist
array of string
google_category
integer
release_date
string
expiry_date
string
new_from
string
new_to
string
related_products
array of string
gallery
array of string
custom_fields
array of CustomFieldInput
custom_attributes
array of CustomAttributeValue
min_units
integer
max_units
integer
Responses
200
Product operation successful
Product operation successful
status
integer
product
Product
400
Bad request. Possible `error_code` values:
Bad request. Possible error_code values:
| Code | Description |
|---|---|
1002 | ResourceNotFound |
10060 | ProductQuotaReached |
10065 | InvalidCategory |
10066 | InvalidStock |
10067 | InvalidMinMaxUnits |
10070 | LanguageConfigurationMismatch |
10298 | SubscriptionMethodsNotActivated |
10320 | InvalidClientId |
10362 | InvalidDateRange |
10363 | InvalidCustomFields |
10365 | DigitalFilesNotFound |
10367 | WarehouseNotFound |
status
integer
error
string
error_code
integer
401
Missing or invalid API key
Missing or invalid API key
status
integer
error
string