POST api/VatManagement/EditCashback
Request Information
URI Parameters
None.
Body Parameters
EditCashbackModel| Name | Description | Type | Additional information |
|---|---|---|---|
| cashbackIdInput | integer |
None. |
|
| itemId | integer |
None. |
|
| minimumSkuQty | integer |
None. |
|
| maxCashbackValueForRateType | decimal number |
None. |
|
| maximumAmountToEarnThroughCashbackDuration | decimal number |
None. |
|
| cashbackTypeId | CashbackTypeId |
None. |
|
| cashback | decimal number |
None. |
|
| description | string |
None. |
|
| cashbackPerCustomer | integer |
None. |
|
| startDate | date |
None. |
|
| endDate | date |
None. |
|
| locationTypeId | LocationTypeId |
None. |
|
| locationId | integer |
None. |
|
| minimumOrderValue | integer |
None. |
|
| brandId | integer |
None. |
|
| cashbackWiseType | CashbackWiseType |
None. |
|
| BusinessId | integer |
None. |
|
| LoginuserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"cashbackIdInput": 1,
"itemId": 2,
"minimumSkuQty": 3,
"maxCashbackValueForRateType": 4.0,
"maximumAmountToEarnThroughCashbackDuration": 5.0,
"cashbackTypeId": 1,
"cashback": 6.0,
"description": "sample string 7",
"cashbackPerCustomer": 8,
"startDate": "2025-12-25T09:15:53.170537+00:00",
"endDate": "2025-12-25T09:15:53.170537+00:00",
"locationTypeId": 1,
"locationId": 11,
"minimumOrderValue": 12,
"brandId": 13,
"cashbackWiseType": 0,
"BusinessId": 14,
"LoginuserId": 15
}
application/xml, text/xml
Sample:
<EditCashbackModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <BusinessId>14</BusinessId> <LoginuserId>15</LoginuserId> <brandId>13</brandId> <cashback>6</cashback> <cashbackPerCustomer>8</cashbackPerCustomer> <cashbackTypeId>flatFee</cashbackTypeId> <cashbackWiseType>None</cashbackWiseType> <description>sample string 7</description> <endDate>2025-12-25T09:15:53.170537+00:00</endDate> <itemId>2</itemId> <locationId>11</locationId> <locationTypeId>branch</locationTypeId> <maxCashbackValueForRateType>4</maxCashbackValueForRateType> <maximumAmountToEarnThroughCashbackDuration>5</maximumAmountToEarnThroughCashbackDuration> <minimumOrderValue>12</minimumOrderValue> <minimumSkuQty>3</minimumSkuQty> <startDate>2025-12-25T09:15:53.170537+00:00</startDate> <cashbackIdInput>1</cashbackIdInput> </EditCashbackModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| dateTime | string |
None. |
|
| StatusCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "1.0.0",
"dateTime": "2025/12/25 09:15:53",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>