GET api/v1/purchaseitems/products?customerId={customerId}&Limit={Limit}&Offset={Offset}&OrderBy={OrderBy}&monthsBack={monthsBack}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerId | globally unique identifier |
Required |
|
Limit | integer |
None. |
|
Offset | integer |
None. |
|
OrderBy | string |
None. |
|
monthsBack | integer |
Default value is 12 |
Body Parameters
None.
Response Information
Resource Description
MultiResultResponseOfPurchasedProductDataName | Description | Type | Additional information |
---|---|---|---|
Meta | MetaMultiResult |
None. |
|
Notifications |
None. |
Response Formats
application/json, text/json
Sample:
{ "meta": { "limit": 1, "offset": 2, "totalResults": 3 }, "notifications": [ {}, {} ], "results": [ { "id": "de814da4-55a8-447a-a6dc-370ad381b8e5", "name": "sample string 2", "brandCode": "sample string 3", "brandName": "sample string 4", "total": 5.0, "date": "2025-08-31T09:07:45.9065009+00:00" }, { "id": "de814da4-55a8-447a-a6dc-370ad381b8e5", "name": "sample string 2", "brandCode": "sample string 3", "brandName": "sample string 4", "total": 5.0, "date": "2025-08-31T09:07:45.9065009+00:00" } ] }
application/xml, text/xml
Sample:
<MultiResultResponseOfPurchasedProductDatadOvjT49_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Presentation.WebApi.Dtos.Response"> <Meta> <Limit>1</Limit> <Offset>2</Offset> <TotalResults>3</TotalResults> </Meta> <Notifications> <Notification /> <Notification /> </Notifications> <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/Application.Services.Dtos"> <d2p1:PurchasedProductData> <d2p1:BrandCode>sample string 3</d2p1:BrandCode> <d2p1:BrandName>sample string 4</d2p1:BrandName> <d2p1:Date>2025-08-31T09:07:45.9065009+00:00</d2p1:Date> <d2p1:Id>de814da4-55a8-447a-a6dc-370ad381b8e5</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Total>5</d2p1:Total> </d2p1:PurchasedProductData> <d2p1:PurchasedProductData> <d2p1:BrandCode>sample string 3</d2p1:BrandCode> <d2p1:BrandName>sample string 4</d2p1:BrandName> <d2p1:Date>2025-08-31T09:07:45.9065009+00:00</d2p1:Date> <d2p1:Id>de814da4-55a8-447a-a6dc-370ad381b8e5</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Total>5</d2p1:Total> </d2p1:PurchasedProductData> </Results> </MultiResultResponseOfPurchasedProductDatadOvjT49_P>