POST api/v1/product/prices

Get price information for a product variation. optional filtered by a customer with his special prices.

Request Information

URI Parameters

None.

Body Parameters

ProductGetPricesByCustomerModel
NameDescriptionTypeAdditional information
CustomerIdentifier

Optional. When set the prices are based on the special prices of the customer

CustomerIdentifierV1

None.

ProductIdentifier

Product variation identifier to request the prices for.

ProductIdentifierV1

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerIdentifier": {
    "CustomerId": 1,
    "CustomerNumber": "sample string 1",
    "CustomerIdentifier": "970f660d-70cd-4f85-835f-3518dd6544d6",
    "ImportSource": "sample string 2",
    "ExternId": "sample string 3"
  },
  "ProductIdentifier": null
}

application/xml, text/xml

Sample:
<ProductGetPricesByCustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromotionalOffice.WebApi.Models.Product">
  <CustomerIdentifier xmlns:d2p1="http://promotionaloffice.promidata.com/2012/08/08">
    <d2p1:CustomerId>1</d2p1:CustomerId>
    <d2p1:CustomerIdentifier>970f660d-70cd-4f85-835f-3518dd6544d6</d2p1:CustomerIdentifier>
    <d2p1:CustomerNumber>sample string 1</d2p1:CustomerNumber>
    <d2p1:ExternId>sample string 3</d2p1:ExternId>
    <d2p1:ImportSource>sample string 2</d2p1:ImportSource>
  </CustomerIdentifier>
  <ProductIdentifier xmlns:d2p1="http://promotionaloffice.promidata.com/2012/08/08" i:nil="true" />
</ProductGetPricesByCustomerModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProductGetPricesByCustomerModel'.

Response Information

Resource Description

Collection of ProductPriceInformationV1
NameDescriptionTypeAdditional information
ArticleNumber

Own Article Number of the variation

string

None.

CustomerNumber

Obsolete

string

None.

Quantity

The quantity

integer

None.

RegularPrice

The regular price

decimal number

None.

Discount

The Discount for the customer on the Regular price

decimal number

None.

CustomerSpecificSellingPrice

The customer specific price

decimal number

None.

QuantityDependentPrice

True, when the price is quantity related. Otherwise the price is a fixed price for the total quantity

boolean

None.

Response Formats

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

Sample:

Sample not available.