GET api/AvailableCustomerOffers?CustomerID={CustomerID}&MerchantID={MerchantID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | integer |
Required |
|
| MerchantID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomersCurrentDiscountOffers| Name | Description | Type | Additional information |
|---|---|---|---|
| DiscountOffersID | string |
None. |
|
| Points | decimal number |
None. |
|
| Title | string |
None. |
|
| DiscountPercentage | decimal number |
None. |
|
| PeriodInDays | decimal number |
None. |
|
| MarchantFullName | string |
None. |
|
| InsertTime | date |
None. |
|
| RemainingInDays | integer |
None. |
|
| ItemsCount | integer |
None. |
|
| IsDiscountCollection | boolean |
None. |
|
| Progress | decimal number |
None. |
|
| Discountvalue | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"DiscountOffersID": "sample string 1",
"Points": 2.0,
"Title": "sample string 3",
"DiscountPercentage": 4.0,
"PeriodInDays": 5.0,
"MarchantFullName": "sample string 6",
"InsertTime": "2025-12-21T23:21:15.2859855+00:00",
"RemainingInDays": 8,
"ItemsCount": 9,
"IsDiscountCollection": true,
"Progress": 11.0,
"Discountvalue": 12.0
},
{
"DiscountOffersID": "sample string 1",
"Points": 2.0,
"Title": "sample string 3",
"DiscountPercentage": 4.0,
"PeriodInDays": 5.0,
"MarchantFullName": "sample string 6",
"InsertTime": "2025-12-21T23:21:15.2859855+00:00",
"RemainingInDays": 8,
"ItemsCount": 9,
"IsDiscountCollection": true,
"Progress": 11.0,
"Discountvalue": 12.0
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomersCurrentDiscountOffers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication_POS">
<CustomersCurrentDiscountOffers>
<DiscountOffersID>sample string 1</DiscountOffersID>
<DiscountPercentage>4</DiscountPercentage>
<Discountvalue>12</Discountvalue>
<InsertTime>2025-12-21T23:21:15.2859855+00:00</InsertTime>
<IsDiscountCollection>true</IsDiscountCollection>
<ItemsCount>9</ItemsCount>
<MarchantFullName>sample string 6</MarchantFullName>
<PeriodInDays>5</PeriodInDays>
<Points>2</Points>
<Progress>11</Progress>
<RemainingInDays>8</RemainingInDays>
<Title>sample string 3</Title>
</CustomersCurrentDiscountOffers>
<CustomersCurrentDiscountOffers>
<DiscountOffersID>sample string 1</DiscountOffersID>
<DiscountPercentage>4</DiscountPercentage>
<Discountvalue>12</Discountvalue>
<InsertTime>2025-12-21T23:21:15.2859855+00:00</InsertTime>
<IsDiscountCollection>true</IsDiscountCollection>
<ItemsCount>9</ItemsCount>
<MarchantFullName>sample string 6</MarchantFullName>
<PeriodInDays>5</PeriodInDays>
<Points>2</Points>
<Progress>11</Progress>
<RemainingInDays>8</RemainingInDays>
<Title>sample string 3</Title>
</CustomersCurrentDiscountOffers>
</ArrayOfCustomersCurrentDiscountOffers>