Authorizations
Path Parameters
Body
application/json
Response
Successful response
curl --request PUT \
--url https://app.flowglad.com/api/v1/customers/{externalId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"customer": {
"email": "<string>",
"name": "<string>",
"archived": true,
"logoURL": "<string>",
"iconURL": "<string>",
"domain": "<string>",
"userId": "<string>",
"pricingModelId": "<string>"
}
}'
{
"customer": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"organizationId": "<string>",
"email": "<string>",
"name": "<string>",
"invoiceNumberBase": "<string>",
"archived": true,
"logoURL": "<string>",
"iconURL": "<string>",
"domain": "<string>",
"billingAddress": {
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "jsmith@example.com",
"address": {
"name": "<string>",
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "<string>"
},
"phone": "<string>"
},
"externalId": "<string>",
"userId": "<string>",
"pricingModelId": "<string>"
}
}
curl --request PUT \
--url https://app.flowglad.com/api/v1/customers/{externalId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"customer": {
"email": "<string>",
"name": "<string>",
"archived": true,
"logoURL": "<string>",
"iconURL": "<string>",
"domain": "<string>",
"userId": "<string>",
"pricingModelId": "<string>"
}
}'
{
"customer": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"organizationId": "<string>",
"email": "<string>",
"name": "<string>",
"invoiceNumberBase": "<string>",
"archived": true,
"logoURL": "<string>",
"iconURL": "<string>",
"domain": "<string>",
"billingAddress": {
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "jsmith@example.com",
"address": {
"name": "<string>",
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "<string>"
},
"phone": "<string>"
},
"externalId": "<string>",
"userId": "<string>",
"pricingModelId": "<string>"
}
}
Show child attributes
Successful response
Show child attributes
Was this page helpful?