POST api/V3/Product/UpdateProductPrice
Update product prices for Super Stockist, distributors and Sub Stockist. (Max 2000 records can be updated in one request)
Request Information
URI Parameters
None.
Body Parameters
Products price to be updated
Collection of V3.ProductPriceUpdateName | Description | Type | Additional information |
---|---|---|---|
ProductERPId |
SAP or ERP code of the product |
string |
Required String length: inclusive between 0 and 50 |
MRP |
MRP of the product |
decimal number |
Required |
PTR_MT |
PTR for Modern Trade of the Product |
decimal number |
Not Mandatory |
SupStockistPrice |
PTSS Flat |
decimal number |
Not Mandatory |
SupStockistMargin |
PTSS Margin % |
decimal number |
Not Mandatory |
SuperStockistTradeDiscount |
SS Trade Discount |
decimal number |
Not Mandatory |
DisPrice |
PTD Flat |
decimal number |
Not Mandatory |
DisMargin |
PTD Margin % |
decimal number |
Not Mandatory |
DistributorTradeDiscount |
Distributor Trade Discount |
decimal number |
Not Mandatory |
SubStockistPrice |
PTD Sub Flat |
decimal number |
Not Mandatory |
SubStockistMargin |
PTD Sub Margin % |
decimal number |
Not Mandatory |
SubStockistTradeDiscount |
SubStockist Trade Discount |
decimal number |
Not Mandatory |
RetailerPrice |
PTR Flat |
decimal number |
Not Mandatory |
RetailerMargin |
PTR Margin % |
decimal number |
Not Mandatory |
RetailerTradeDiscount |
Retailer Trade Discount |
decimal number |
Not Mandatory |
BatchNumber | string |
None. |
|
PTRT |
PTRT |
decimal number |
Not Mandatory |
Request Formats
application/json, text/json
Sample:
[ { "ProductERPId": "sample string 1", "MRP": 2.0, "PTR_MT": 3.0, "SupStockistPrice": 4.0, "SupStockistMargin": 5.0, "SuperStockistTradeDiscount": 6.0, "DisPrice": 7.0, "DisMargin": 8.0, "DistributorTradeDiscount": 9.0, "SubStockistPrice": 10.0, "SubStockistMargin": 11.0, "SubStockistTradeDiscount": 12.0, "RetailerPrice": 13.0, "RetailerMargin": 14.0, "RetailerTradeDiscount": 15.0, "BatchNumber": "sample string 16", "PTRT": 1.0 }, { "ProductERPId": "sample string 1", "MRP": 2.0, "PTR_MT": 3.0, "SupStockistPrice": 4.0, "SupStockistMargin": 5.0, "SuperStockistTradeDiscount": 6.0, "DisPrice": 7.0, "DisMargin": 8.0, "DistributorTradeDiscount": 9.0, "SubStockistPrice": 10.0, "SubStockistMargin": 11.0, "SubStockistTradeDiscount": 12.0, "RetailerPrice": 13.0, "RetailerMargin": 14.0, "RetailerTradeDiscount": 15.0, "BatchNumber": "sample string 16", "PTRT": 1.0 } ]
application/xml, text/xml
Sample:
<ArrayOfProductPriceUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models"> <ProductPriceUpdate> <BatchNumber>sample string 16</BatchNumber> <DisMargin>8</DisMargin> <DisPrice>7</DisPrice> <DistributorTradeDiscount>9</DistributorTradeDiscount> <MRP>2</MRP> <PTRT>1</PTRT> <PTR_MT>3</PTR_MT> <ProductERPId>sample string 1</ProductERPId> <RetailerMargin>14</RetailerMargin> <RetailerPrice>13</RetailerPrice> <RetailerTradeDiscount>15</RetailerTradeDiscount> <SubStockistMargin>11</SubStockistMargin> <SubStockistPrice>10</SubStockistPrice> <SubStockistTradeDiscount>12</SubStockistTradeDiscount> <SupStockistMargin>5</SupStockistMargin> <SupStockistPrice>4</SupStockistPrice> <SuperStockistTradeDiscount>6</SuperStockistTradeDiscount> </ProductPriceUpdate> <ProductPriceUpdate> <BatchNumber>sample string 16</BatchNumber> <DisMargin>8</DisMargin> <DisPrice>7</DisPrice> <DistributorTradeDiscount>9</DistributorTradeDiscount> <MRP>2</MRP> <PTRT>1</PTRT> <PTR_MT>3</PTR_MT> <ProductERPId>sample string 1</ProductERPId> <RetailerMargin>14</RetailerMargin> <RetailerPrice>13</RetailerPrice> <RetailerTradeDiscount>15</RetailerTradeDiscount> <SubStockistMargin>11</SubStockistMargin> <SubStockistPrice>10</SubStockistPrice> <SubStockistTradeDiscount>12</SubStockistTradeDiscount> <SupStockistMargin>5</SupStockistMargin> <SupStockistPrice>4</SupStockistPrice> <SuperStockistTradeDiscount>6</SuperStockistTradeDiscount> </ProductPriceUpdate> </ArrayOfProductPriceUpdate>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.