GET api/product/GetPriceList?filterCode={filterCode}&customerNumber={customerNumber}&warehouseCode={warehouseCode}

Get list of prices for all customers or for a specific customer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
filterCode

an optional filter code used to filter the result product list

string

None.

customerNumber

an optional customer number to get prices for

integer

None.

warehouseCode

warehouseCode - to get the prices for specific warehouse - optional

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Pricing
NameDescriptionTypeAdditional information
PriceCode

string

None.

PriceList

Collection of ProductPrice

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PriceCode": "sample string 1",
    "PriceList": [
      {
        "WarehouseCode": "sample string 1",
        "ProductNumber": "sample string 2",
        "Price": 3.0,
        "MAP": 4.0
      },
      {
        "WarehouseCode": "sample string 1",
        "ProductNumber": "sample string 2",
        "Price": 3.0,
        "MAP": 4.0
      }
    ]
  },
  {
    "PriceCode": "sample string 1",
    "PriceList": [
      {
        "WarehouseCode": "sample string 1",
        "ProductNumber": "sample string 2",
        "Price": 3.0,
        "MAP": 4.0
      },
      {
        "WarehouseCode": "sample string 1",
        "ProductNumber": "sample string 2",
        "Price": 3.0,
        "MAP": 4.0
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfPricing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoasterAPI.Products">
  <Pricing>
    <PriceCode>sample string 1</PriceCode>
    <PriceList>
      <ProductPrice>
        <MAP>4</MAP>
        <Price>3</Price>
        <ProductNumber>sample string 2</ProductNumber>
        <WarehouseCode>sample string 1</WarehouseCode>
      </ProductPrice>
      <ProductPrice>
        <MAP>4</MAP>
        <Price>3</Price>
        <ProductNumber>sample string 2</ProductNumber>
        <WarehouseCode>sample string 1</WarehouseCode>
      </ProductPrice>
    </PriceList>
  </Pricing>
  <Pricing>
    <PriceCode>sample string 1</PriceCode>
    <PriceList>
      <ProductPrice>
        <MAP>4</MAP>
        <Price>3</Price>
        <ProductNumber>sample string 2</ProductNumber>
        <WarehouseCode>sample string 1</WarehouseCode>
      </ProductPrice>
      <ProductPrice>
        <MAP>4</MAP>
        <Price>3</Price>
        <ProductNumber>sample string 2</ProductNumber>
        <WarehouseCode>sample string 1</WarehouseCode>
      </ProductPrice>
    </PriceList>
  </Pricing>
</ArrayOfPricing>