POST api/V3/Product/UpdateStockiestPriceAllProduct

Update product prices,ERPId and MRP for Regional Super Stockist, distributors and Sub Stockist. (Max 2000 records can be updated in one request)

Request Information

URI Parameters

None.

Body Parameters

V3.UpdateStockiestPriceAllProduct
NameDescriptionTypeAdditional information
DistributorERPId

SAP or ERP code of the Stockiest

string

Required

String length: inclusive between 0 and 50

StockistType

StockistType

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

Required

SuperStockistTradeDiscount

SS Trade Discount

decimal number

Not Mandatory

DisPrice

PTD Flat

decimal number

Not Mandatory

DisMargin

PTD Margin %

decimal number

Required

DistributorTradeDiscount

Distributor Trade Discount

decimal number

Not Mandatory

SubStockistPrice

PTD Sub Flat

decimal number

Not Mandatory

SubStockistMargin

PTD Sub Margin %

decimal number

Required

SubStockistTradeDiscount

SubStockist Trade Discount

decimal number

Not Mandatory

RetailerPrice

PTR Flat

decimal number

Not Mandatory

RetailerMargin

PTR Margin %

decimal number

Required

RetailerTradeDiscount

Retailer Trade Discount

decimal number

Not Mandatory

PTRT

PTRT

decimal number

Not Mandatory

Request Formats

application/json, text/json

Sample:
{
  "DistributorERPId": "sample string 1",
  "StockistType": "Unknown",
  "PTR_MT": 2.0,
  "SupStockistPrice": 3.0,
  "SupStockistMargin": 4.0,
  "SuperStockistTradeDiscount": 5.0,
  "DisPrice": 6.0,
  "DisMargin": 7.0,
  "DistributorTradeDiscount": 8.0,
  "SubStockistPrice": 9.0,
  "SubStockistMargin": 10.0,
  "SubStockistTradeDiscount": 11.0,
  "RetailerPrice": 12.0,
  "RetailerMargin": 13.0,
  "RetailerTradeDiscount": 14.0,
  "PTRT": 1.0
}

application/xml, text/xml

Sample:
<UpdateStockiestPriceAllProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models">
  <DisMargin>7</DisMargin>
  <DisPrice>6</DisPrice>
  <DistributorERPId>sample string 1</DistributorERPId>
  <DistributorTradeDiscount>8</DistributorTradeDiscount>
  <PTRT>1</PTRT>
  <PTR_MT>2</PTR_MT>
  <RetailerMargin>13</RetailerMargin>
  <RetailerPrice>12</RetailerPrice>
  <RetailerTradeDiscount>14</RetailerTradeDiscount>
  <StockistType>Unknown</StockistType>
  <SubStockistMargin>10</SubStockistMargin>
  <SubStockistPrice>9</SubStockistPrice>
  <SubStockistTradeDiscount>11</SubStockistTradeDiscount>
  <SupStockistMargin>4</SupStockistMargin>
  <SupStockistPrice>3</SupStockistPrice>
  <SuperStockistTradeDiscount>5</SuperStockistTradeDiscount>
</UpdateStockiestPriceAllProduct>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.