API documentation
Integrations
Analytics
Billable events
Companies
Coupons > Promotion codes
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
Organisations
Patch organisation
Update the details of an existing organisation.
PATCH
/
v1
/
organisations
/
{id}
curl --request PATCH \
--url https://api.hyperline.co/v1/organisations/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Acme Group",
"currency": "EUR",
"country": "FR",
"invoice_schedule": "month",
"next_invoice_at": "2024-04-01T00:00:00Z"
}'
{
"id": "cus_0noDeAEU22FgA4",
"name": "Acme Group",
"currency": "EUR",
"country": "FR",
"invoice_schedule": "month",
"next_invoice_at": "2024-04-01T00:00:00Z",
"child_customer_ids": [
"cus_Typ0px2W0aiEtl"
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Response
200
application/json
The response is of type object
.
Was this page helpful?
curl --request PATCH \
--url https://api.hyperline.co/v1/organisations/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Acme Group",
"currency": "EUR",
"country": "FR",
"invoice_schedule": "month",
"next_invoice_at": "2024-04-01T00:00:00Z"
}'
{
"id": "cus_0noDeAEU22FgA4",
"name": "Acme Group",
"currency": "EUR",
"country": "FR",
"invoice_schedule": "month",
"next_invoice_at": "2024-04-01T00:00:00Z",
"child_customer_ids": [
"cus_Typ0px2W0aiEtl"
]
}
Assistant
Responses are generated using AI and may contain mistakes.