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": 123
}
]'
{
"id": "<string>",
"status": "active",
"currency": "EUR",
"country": "FR",
"plan_id": "<string>",
"billing_interval": {
"period": "once"
},
"commitment_interval": {
"period": "all"
},
"updated_at": "<string>",
"archived_at": "<string>",
"type": "fee",
"prices": [
{
"type": "fee",
"id": "<string>",
"amount": 123
}
]
}
Update prices of an existing price configuration.
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": 123
}
]'
{
"id": "<string>",
"status": "active",
"currency": "EUR",
"country": "FR",
"plan_id": "<string>",
"billing_interval": {
"period": "once"
},
"commitment_interval": {
"period": "all"
},
"updated_at": "<string>",
"archived_at": "<string>",
"type": "fee",
"prices": [
{
"type": "fee",
"id": "<string>",
"amount": 123
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Prices payload
Price tiers of the price configuration. If fixed amount, only one price is available.
The updated price configuration
The response is of type object
.
Was this page helpful?