POST api/store/{id}/product/{guid}/pricelevels

Save price level for store product

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Store ID

integer

Required

guid

Store Product Guid

globally unique identifier

Required

Body Parameters

price levels

ProductPriceLevelList
NameDescriptionTypeAdditional information
PriceLevels

Collection of ProductPriceLevel

None.

StoreIDs

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "priceLevels": [
    {
      "$id": "2",
      "id": 1,
      "priceLevelIdentifier": "G5V00wX73U62eErckPk4kQ==",
      "priceLevelIdentifierGuid": "d374951b-fb05-4edd-b678-4adc90f93891",
      "pluG_UID": "qvv7FuNHOkCVoCjG6RmSOQ==",
      "pluGuid": "16fbfbaa-47e3-403a-95a0-28c6e9199239",
      "price": 4,
      "changeType": 5,
      "linkedPriceLevelIdentifier": "5wVzRjg7NEKLgjHdl34xYQ==",
      "linkedPriceLevelIdentifierGuid": "467305e7-3b38-4234-8b82-31dd977e3161",
      "updated": "2025-06-14T07:15:40.0475018",
      "priceLevelName": "sample string 7",
      "storeIDs": [
        1,
        2
      ]
    },
    {
      "$ref": "2"
    }
  ],
  "storeIDs": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<ProductPriceLevelList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products">
  <PriceLevels>
    <ProductPriceLevel>
      <ChangeType>5</ChangeType>
      <ID>1</ID>
      <LinkedPriceLevelIdentifier>5wVzRjg7NEKLgjHdl34xYQ==</LinkedPriceLevelIdentifier>
      <LinkedPriceLevelIdentifierGuid>467305e7-3b38-4234-8b82-31dd977e3161</LinkedPriceLevelIdentifierGuid>
      <PLUG_UID>qvv7FuNHOkCVoCjG6RmSOQ==</PLUG_UID>
      <PluGuid>16fbfbaa-47e3-403a-95a0-28c6e9199239</PluGuid>
      <Price>4</Price>
      <PriceLevelIdentifier>G5V00wX73U62eErckPk4kQ==</PriceLevelIdentifier>
      <PriceLevelIdentifierGuid>d374951b-fb05-4edd-b678-4adc90f93891</PriceLevelIdentifierGuid>
      <PriceLevelName>sample string 7</PriceLevelName>
      <StoreIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </StoreIDs>
      <Updated>2025-06-14T07:15:40.0475018+00:00</Updated>
    </ProductPriceLevel>
    <ProductPriceLevel>
      <ChangeType>5</ChangeType>
      <ID>1</ID>
      <LinkedPriceLevelIdentifier>5wVzRjg7NEKLgjHdl34xYQ==</LinkedPriceLevelIdentifier>
      <LinkedPriceLevelIdentifierGuid>467305e7-3b38-4234-8b82-31dd977e3161</LinkedPriceLevelIdentifierGuid>
      <PLUG_UID>qvv7FuNHOkCVoCjG6RmSOQ==</PLUG_UID>
      <PluGuid>16fbfbaa-47e3-403a-95a0-28c6e9199239</PluGuid>
      <Price>4</Price>
      <PriceLevelIdentifier>G5V00wX73U62eErckPk4kQ==</PriceLevelIdentifier>
      <PriceLevelIdentifierGuid>d374951b-fb05-4edd-b678-4adc90f93891</PriceLevelIdentifierGuid>
      <PriceLevelName>sample string 7</PriceLevelName>
      <StoreIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </StoreIDs>
      <Updated>2025-06-14T07:15:40.0475018+00:00</Updated>
    </ProductPriceLevel>
  </PriceLevels>
  <StoreIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </StoreIDs>
</ProductPriceLevelList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel

Sample:

Sample not available.