Update or create a pricing plan (upsert)
Update or create a pricing plan (upsert)
Requires the PRICING_PLAN.CREATE or PRICING_PLAN.UPDATE permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
reference
amount_type
Set to determine whether the pricings in this pricing plan are including or excluding tax. The default, if left empty, is excluding tax.
Allowed values:
pricing_currencies
The default alphabetic currency code representing the type of currency that can be used for the pricings.
name
description
customer_id
Resource ID of type CUSTOMER
type
Allowed values:
pricing_plan_selection_rules
Response
Created
reference
amount_type
Set to determine whether the pricings in this pricing plan are including or excluding tax. The default, if left empty, is excluding tax.
Allowed values:
pricing_currencies
The default alphabetic currency code representing the type of currency that can be used for the pricings.
object_type
id
name
description
customer_id
Resource ID of type CUSTOMER
type
Allowed values:
pricing_plan_version_infos
pricing_plan_selection_rules
variant
Allowed values:
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error