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_account_id": "<string>",
"provider_id": "<string>"
}
]
'{
"successful": 123,
"expected": 123,
"updated": [
"<string>"
]
}Bulk update providers/customers mapping, make sure to check the query response to see if all customers were updated.
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_account_id": "<string>",
"provider_id": "<string>"
}
]
'{
"successful": 123,
"expected": 123,
"updated": [
"<string>"
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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.
Customer ID.
"cus_Typ0px2W0aiEtl"
Provider name.
mollie, stripe, gocardless, airwallex, hubspot, attio, salesforce, xero, exact-online, pennylane, quickbooks ID of the customer on the provider side. Using a null value will reset the previously saved ID.
Provider ID. Required if multiple instances of the same provider are connected in Hyperline.
Was this page helpful?