GET api/v1/{companyId}/customer/{customerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | string |
Required |
|
| customerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| InvoiceCustomerId | integer |
None. |
|
| Name | string |
None. |
|
| CustomerGroupId | integer |
None. |
|
| OrganisationNo | string |
None. |
|
| SellerId | integer |
None. |
|
| SellerName | string |
None. |
|
| Phone | string |
None. |
|
| string |
None. |
||
| InvoiceAddress | Address |
None. |
|
| DeliveryAddresses | Collection of Address |
None. |
|
| LastModified | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"InvoiceCustomerId": 2,
"Name": "sample string 3",
"CustomerGroupId": 4,
"OrganisationNo": "sample string 5",
"SellerId": 1,
"SellerName": "sample string 6",
"Phone": "sample string 7",
"EMail": "sample string 8",
"InvoiceAddress": {
"AddressId": 1,
"Name": "sample string 2",
"AddressLine1": "sample string 3",
"AddressLine2": "sample string 4",
"PostCode": "sample string 5",
"PostalArea": "sample string 6",
"CountryName": "sample string 7",
"CountryIso": "sample string 8"
},
"DeliveryAddresses": [
{
"AddressId": 1,
"Name": "sample string 2",
"AddressLine1": "sample string 3",
"AddressLine2": "sample string 4",
"PostCode": "sample string 5",
"PostalArea": "sample string 6",
"CountryName": "sample string 7",
"CountryIso": "sample string 8"
},
{
"AddressId": 1,
"Name": "sample string 2",
"AddressLine1": "sample string 3",
"AddressLine2": "sample string 4",
"PostCode": "sample string 5",
"PostalArea": "sample string 6",
"CountryName": "sample string 7",
"CountryIso": "sample string 8"
}
],
"LastModified": "2025-12-15T21:47:19.607132+01:00"
}
application/xml, text/xml
Sample:
<CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TreeOfPets.LitiumIntegration.Api.Models">
<CustomerGroupId>4</CustomerGroupId>
<CustomerId>1</CustomerId>
<DeliveryAddresses>
<Address>
<AddressId>1</AddressId>
<AddressLine1>sample string 3</AddressLine1>
<AddressLine2>sample string 4</AddressLine2>
<CountryIso>sample string 8</CountryIso>
<CountryName>sample string 7</CountryName>
<Name>sample string 2</Name>
<PostCode>sample string 5</PostCode>
<PostalArea>sample string 6</PostalArea>
</Address>
<Address>
<AddressId>1</AddressId>
<AddressLine1>sample string 3</AddressLine1>
<AddressLine2>sample string 4</AddressLine2>
<CountryIso>sample string 8</CountryIso>
<CountryName>sample string 7</CountryName>
<Name>sample string 2</Name>
<PostCode>sample string 5</PostCode>
<PostalArea>sample string 6</PostalArea>
</Address>
</DeliveryAddresses>
<EMail>sample string 8</EMail>
<InvoiceAddress>
<AddressId>1</AddressId>
<AddressLine1>sample string 3</AddressLine1>
<AddressLine2>sample string 4</AddressLine2>
<CountryIso>sample string 8</CountryIso>
<CountryName>sample string 7</CountryName>
<Name>sample string 2</Name>
<PostCode>sample string 5</PostCode>
<PostalArea>sample string 6</PostalArea>
</InvoiceAddress>
<InvoiceCustomerId>2</InvoiceCustomerId>
<LastModified>2025-12-15T21:47:19.607132+01:00</LastModified>
<Name>sample string 3</Name>
<OrganisationNo>sample string 5</OrganisationNo>
<Phone>sample string 7</Phone>
<SellerId>1</SellerId>
<SellerName>sample string 6</SellerName>
</CustomerModel>