API : Customer Get names
Introduction
This request will return the the id and name of a list of customers. This is typically used when a list of objects contains a customer id and we wish to add the name of the customer to the objects.
Request
Query example
{
customers: [
'1234567890ABCDEF12345678',
'1234567890ABCDEF12345679',
'1234567890ABCDEF12345680'
]
}
Response
| Json object |
| key | Id | Unique customer id |
| value | String | Name of the customer |
Example
{
'1234567890ABCDEF12345678': 'Northwind industries',
'1234567890ABCDEF12345679': 'ACME soap and ketchup',
'1234567890ABCDEF12345680': 'Alvin and the Chipmunks'
}
Errors
| Error code | Message | Description |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |