Price configurations
Update prices
API documentation
Integrations
Analytics
Billable events
Companies
Custom properties
Customers
Customers > Credits
Customers > Payment methods
Integrations
Invoices
Invoices > Transactions
Invoicing entities
Organisations
Payments
Price configurations
Products
Quotes
Subscriptions
- GETGet subscriptions
- GETGet subscription
- GETGet subscription phases
- GETGet subscription phase
- POSTCreate subscription update
- POSTCreate subscription updates
- POSTCreate subscription
- PUTUpdate subscription
- POSTActivate subscription
- POSTCancel subscription
- POSTPause subscription
- POSTReactivate subscription
- POSTRefresh seat products
- POSTRefresh subscriptions
- POSTReinstate subscription
- POSTTransition subscription to next phase
Third-party apps
Wallets
Price configurations
Update prices
Update prices of an existing price configuration.
PUT
/
v1
/
price-configurations
/
{id}
/
prices
curl --request PUT \
--url https://api.hyperline.co/v1/price-configurations/{id}/prices \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"type": "fee",
"id": "<string>",
"amount": 24000
}
]'
{
"id": "<string>",
"currency": "EUR",
"country": "FR",
"plan_id": "<string>",
"billing_interval": {
"period": "once"
},
"commitment_interval": {
"period": "all"
},
"updated_at": "<string>",
"type": "fee",
"prices": [
{
"type": "fee",
"id": "<string>",
"amount": 24000
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json · object[]
Prices payload
Price tiers of the price configuration. If fixed amount, only one price is available.
Response
200 - application/json
The updated price configuration
The response is of type object
.
The response is of type object
.
The response is of type object
.
The response is of type object
.
The response is of type object
.
The response is of type object
.
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.hyperline.co/v1/price-configurations/{id}/prices \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"type": "fee",
"id": "<string>",
"amount": 24000
}
]'
{
"id": "<string>",
"currency": "EUR",
"country": "FR",
"plan_id": "<string>",
"billing_interval": {
"period": "once"
},
"commitment_interval": {
"period": "all"
},
"updated_at": "<string>",
"type": "fee",
"prices": [
{
"type": "fee",
"id": "<string>",
"amount": 24000
}
]
}