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
Customers
Bulk update providers/customers mapping
Bulk update providers/customers mapping, make sure to check the query response to see if all customers were updated.
POST
/
v1
/
customers
/
providers-bulk-update
curl --request POST \
--url https://api.hyperline.co/v1/customers/providers-bulk-update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"customer_id": "cus_Typ0px2W0aiEtl",
"provider_name": "mollie",
"provider_id": "<string>",
"provider_account_id": "<string>"
}
]'
{
"successful": 123,
"expected": 123,
"updated": [
"<string>"
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Sync the customer with the provider after updating the mapping. If the provider is a Payment Service Provider, the payment methods of the customers will be imported.
Body
application/json · object[]
The body is of type object[]
.
Response
200 - application/json
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.hyperline.co/v1/customers/providers-bulk-update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"customer_id": "cus_Typ0px2W0aiEtl",
"provider_name": "mollie",
"provider_id": "<string>",
"provider_account_id": "<string>"
}
]'
{
"successful": 123,
"expected": 123,
"updated": [
"<string>"
]
}
Assistant
Responses are generated using AI and may contain mistakes.