Retrieve a customer
GET
/customers/{customerId}
Customers
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-sandbox.saaslogic.io/v1/customers/782ef4f6-8cdd-4f7c-9223-efc8b63d0b62' \
--header 'Authorization;' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Response Response Example
200 - Customer Details
{
"customerId": "4e27ea44-9be0-4661-a851-3c099d3a18a5",
"customerName": "Adroit Solutions",
"customerType": "BUSINESS",
"isTaxExempted": true,
"exemptionReasonCode": "D",
"exemptionNumber": "12345678",
"isActive": true,
"Status": "Ready",
"contacts": [
{
"firstName": "Michael",
"lastName": "Hensley",
"email": "info@adroit.io",
"contactNumber": "1234567890",
"countryCode": "IND",
"contactId": "54674d18-aa04-4650-baf2-36479dafdb22",
"countryPrefix": "+91",
"isDefault": true
},
{
"firstName": "Michael",
"lastName": "Hensley",
"email": "info@adroit.io",
"contactNumber": "1234567890",
"countryCode": "IND",
"contactId": "54674d18-aa04-4650-baf2-36479dafdb22",
"countryPrefix": "+91",
"isDefault": true
}
],
"addresses": [
{
"addressName": "Adroit Solutions",
"address": "Akshya Nagar 1st Block 1st Cross, Rammurthy nagar, Bangalore",
"countryCode": "IND",
"stateCode": "KA",
"city": "Bangalore",
"zip": "560016",
"addressId": "6c54f68f-1de4-4d72-b532-ae45658e4a15",
"isDefault": true
},
{
"addressName": "Adroit Solutions",
"address": "Akshya Nagar 1st Block 1st Cross, Rammurthy nagar, Bangalore",
"countryCode": "IND",
"stateCode": "KA",
"city": "Bangalore",
"zip": "560016",
"addressId": "6c54f68f-1de4-4d72-b532-ae45658e4a15",
"isDefault": true
}
]
}
Request
Path Params
customerId
string
required
Example:
782ef4f6-8cdd-4f7c-9223-efc8b63d0b62
Header Params
Authorization
string
required
Default:
Bearer {{bearerToken}}
Content-Type
string
optional
Default:
application/json
Accept
string
optional
Default:
application/json