POST api/V3/Product/UpdateRegionalProductPrice
Update product prices for Regional 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.ProductRegionalPriceUpdateName | Description | Type | Additional information |
---|---|---|---|
RegionERPId |
SAP or ERP code of the region |
string |
Required String length: inclusive between 0 and 50 |
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
[ { "RegionERPId": "sample string 1", "ProductERPId": "sample string 2", "MRP": 3.0, "PTR_MT": 4.0, "SupStockistPrice": 5.0, "SupStockistMargin": 6.0, "SuperStockistTradeDiscount": 7.0, "DisPrice": 8.0, "DisMargin": 9.0, "DistributorTradeDiscount": 10.0, "SubStockistPrice": 11.0, "SubStockistMargin": 12.0, "SubStockistTradeDiscount": 13.0, "RetailerPrice": 14.0, "RetailerMargin": 15.0, "RetailerTradeDiscount": 16.0, "BatchNumber": "sample string 17", "PTRT": 1.0 }, { "RegionERPId": "sample string 1", "ProductERPId": "sample string 2", "MRP": 3.0, "PTR_MT": 4.0, "SupStockistPrice": 5.0, "SupStockistMargin": 6.0, "SuperStockistTradeDiscount": 7.0, "DisPrice": 8.0, "DisMargin": 9.0, "DistributorTradeDiscount": 10.0, "SubStockistPrice": 11.0, "SubStockistMargin": 12.0, "SubStockistTradeDiscount": 13.0, "RetailerPrice": 14.0, "RetailerMargin": 15.0, "RetailerTradeDiscount": 16.0, "BatchNumber": "sample string 17", "PTRT": 1.0 } ]
application/xml, text/xml
<ArrayOfProductRegionalPriceUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models"> <ProductRegionalPriceUpdate> <BatchNumber>sample string 17</BatchNumber> <DisMargin>9</DisMargin> <DisPrice>8</DisPrice> <DistributorTradeDiscount>10</DistributorTradeDiscount> <MRP>3</MRP> <PTRT>1</PTRT> <PTR_MT>4</PTR_MT> <ProductERPId>sample string 2</ProductERPId> <RetailerMargin>15</RetailerMargin> <RetailerPrice>14</RetailerPrice> <RetailerTradeDiscount>16</RetailerTradeDiscount> <SubStockistMargin>12</SubStockistMargin> <SubStockistPrice>11</SubStockistPrice> <SubStockistTradeDiscount>13</SubStockistTradeDiscount> <SupStockistMargin>6</SupStockistMargin> <SupStockistPrice>5</SupStockistPrice> <SuperStockistTradeDiscount>7</SuperStockistTradeDiscount> <RegionERPId>sample string 1</RegionERPId> </ProductRegionalPriceUpdate> <ProductRegionalPriceUpdate> <BatchNumber>sample string 17</BatchNumber> <DisMargin>9</DisMargin> <DisPrice>8</DisPrice> <DistributorTradeDiscount>10</DistributorTradeDiscount> <MRP>3</MRP> <PTRT>1</PTRT> <PTR_MT>4</PTR_MT> <ProductERPId>sample string 2</ProductERPId> <RetailerMargin>15</RetailerMargin> <RetailerPrice>14</RetailerPrice> <RetailerTradeDiscount>16</RetailerTradeDiscount> <SubStockistMargin>12</SubStockistMargin> <SubStockistPrice>11</SubStockistPrice> <SubStockistTradeDiscount>13</SubStockistTradeDiscount> <SupStockistMargin>6</SupStockistMargin> <SupStockistPrice>5</SupStockistPrice> <SuperStockistTradeDiscount>7</SuperStockistTradeDiscount> <RegionERPId>sample string 1</RegionERPId> </ProductRegionalPriceUpdate> </ArrayOfProductRegionalPriceUpdate>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.