Retrieve Customer
GET/accounting/customers/:id
Retrieve a Customer with the given id.
Request
Path Parameters
id stringrequired
The ID of the customer.
Query Parameters
credentialId stringrequired
The ID of the credential.
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
Responses
- 200
- 400
200
- application/json
- Schema
- Result
Schema
any
{
"customer":
{
"remoteId": "5",
"customerName": "Alexa Jones",
"email": "alexa@example.com",
"taxNumber": null,
"customerStatus": "INACTIVE",
"currency": "EUR",
"companyId": null,
"addresses": [
{
"country": "Germany",
"street1": "Sample Street 123",
"city": "Berlin",
"state": "Berlin",
"postalCode": "10115"
}
],
"phoneNumbers": [
{
"type": "mobile",
"number": "+4915212345678"
}
],
"id": "00000000-0000-0000-0000-000000000000"
"remoteCreatedAt": "2023-07-11T08:01:53.000Z",
"remoteUpdatedAt": "2023-07-11T08:01:53.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:15:58.607Z",
"updatedAt": "2024-02-22T13:51:03.813Z"
}
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
object
{}
{}
Loading...