POST api/V3/Product/UpdatePrice
Upload the price of the products (Max 2000 records can be updated in one request)
Request Information
URI Parameters
None.
Body Parameters
Products to be updated
Collection of V3.ProductPrice| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductERPId |
SAP or ERP code of the product |
string |
Required String length: inclusive between 0 and 50 |
| Price |
Price of the product for the retailer |
decimal number |
Not Mandatory |
| PTD |
Price To Distributor of the product |
decimal number |
Not Mandatory |
| MRP |
MRP of the product |
decimal number |
Not Mandatory |
| Display_MRP |
Display MRP of the product |
string |
Not Mandatory |
| PTRMT |
PTR for Modern Trade of the Product |
decimal number |
Not Mandatory |
| PTDSuper |
PTD for Super Stockist of the Product |
decimal number |
Not Mandatory |
| PTDSub |
PTD for Sub Stockist of the Product |
decimal number |
Not Mandatory |
| PTRDelta |
Delta of PTR |
decimal number |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ProductERPId": "sample string 1",
"Price": 2.1,
"PTD": 3.0,
"MRP": 4.0,
"Display_MRP": "sample string 5",
"PTRMT": 1.0,
"PTDSuper": 1.0,
"PTDSub": 1.0,
"PTRDelta": 1.1
},
{
"ProductERPId": "sample string 1",
"Price": 2.1,
"PTD": 3.0,
"MRP": 4.0,
"Display_MRP": "sample string 5",
"PTRMT": 1.0,
"PTDSuper": 1.0,
"PTDSub": 1.0,
"PTRDelta": 1.1
}
]
application/xml, text/xml
Sample:
<ArrayOfProductPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models">
<ProductPrice>
<Display_MRP>sample string 5</Display_MRP>
<MRP>4</MRP>
<PTD>3</PTD>
<PTDSub>1</PTDSub>
<PTDSuper>1</PTDSuper>
<PTRDelta>1.1</PTRDelta>
<PTRMT>1</PTRMT>
<Price>2.1</Price>
<ProductERPId>sample string 1</ProductERPId>
</ProductPrice>
<ProductPrice>
<Display_MRP>sample string 5</Display_MRP>
<MRP>4</MRP>
<PTD>3</PTD>
<PTDSub>1</PTDSub>
<PTDSuper>1</PTDSuper>
<PTRDelta>1.1</PTRDelta>
<PTRMT>1</PTRMT>
<Price>2.1</Price>
<ProductERPId>sample string 1</ProductERPId>
</ProductPrice>
</ArrayOfProductPrice>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.