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": "<string>",
    "provider_name": "mollie",
    "provider_account_id": "<string>"
  }
]'
{
  "successful": 123,
  "expected": 123,
  "updated": [
    "<string>"
  ]
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json · object[]
customer_id
string
required
provider_name
enum<string>
required
Available options:
mollie,
stripe,
gocardless,
hubspot,
salesforce
provider_account_id
string
required

Response

200 - application/json
successful
number
required

Number of record successfully updated.

expected
number
required

Number of record expected to be updated.

updated
string[]
required

Customer IDs that were successfully updated.