GET api/v1/{companyId}/prices/customer?page={page}&pageSize={pageSize}&modifiedAfter={modifiedAfter}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | string |
Required |
|
| page | integer |
Default value is 0 |
|
| pageSize | integer |
Default value is 100 |
|
| modifiedAfter | date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerPriceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| Prices | Collection of ProductPriceModel |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CustomerId": 1,
"Prices": [
{
"ProductId": "sample string 1",
"Price": 2.0,
"Discount": 1.0
},
{
"ProductId": "sample string 1",
"Price": 2.0,
"Discount": 1.0
}
]
},
{
"CustomerId": 1,
"Prices": [
{
"ProductId": "sample string 1",
"Price": 2.0,
"Discount": 1.0
},
{
"ProductId": "sample string 1",
"Price": 2.0,
"Discount": 1.0
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomerPriceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TreeOfPets.LitiumIntegration.Api.Models">
<CustomerPriceModel>
<CustomerId>1</CustomerId>
<Prices>
<ProductPriceModel>
<Discount>1</Discount>
<Price>2</Price>
<ProductId>sample string 1</ProductId>
</ProductPriceModel>
<ProductPriceModel>
<Discount>1</Discount>
<Price>2</Price>
<ProductId>sample string 1</ProductId>
</ProductPriceModel>
</Prices>
</CustomerPriceModel>
<CustomerPriceModel>
<CustomerId>1</CustomerId>
<Prices>
<ProductPriceModel>
<Discount>1</Discount>
<Price>2</Price>
<ProductId>sample string 1</ProductId>
</ProductPriceModel>
<ProductPriceModel>
<Discount>1</Discount>
<Price>2</Price>
<ProductId>sample string 1</ProductId>
</ProductPriceModel>
</Prices>
</CustomerPriceModel>
</ArrayOfCustomerPriceModel>