Customers
Patch customer
Changed onPatch customer information (company, legal name, EIN, street address, sub-premise, city, state, postal code, country)
patch/customers/{id}
Request
- Base URLhttps://public-api.alternativepayments.io
- URLhttps://public-api.alternativepayments.io/customers/{id}
- AuthOAuth 2Client credentialsToken URL: /oauth/token scopes: customers:write
Path parameters
idstring required
Customer ID
Request body
Example request
{
"city": "New York",
"country": "USA",
"ein": "12-3456789",
"legal_name": "Acme Corporation Inc.",
"name": "Acme Corp",
"postal_code": "10001",
"state": "NY",
"street_address": "123 Main St, New York, NY 10001",
"sub_premise": "Apt 1"
}Response
OK
Example response
{
"tag_ids": [
"0b8f3c5e-6d2a-4f1b-9a7e-3c4d5e6f7a8b"
]
}Changes
- info
added the optional property
to the response with the status
- info