Update a pricelist item

Updates a priceList item.

Request
query Parameters
updatedBy
required
string

The internal id of the current customer's account. If none is supplied, value is resolved from Application.

Request Body schema:

The PriceListItem to update. Prices should be in the currency of the PriceList.

PartNo
string

PartNo of the SKU for this price item. MaxLength: 50

PricelistId
integer <int32>

The internal pricelist id.

Price
number <decimal>

The price. Read only. Currency is from the pricelist.

PriceRecommended
number or null <decimal>

The price from inherited pricelist, if any.

IsActive
boolean

Specifies if the pricelist item is active or not. Ignored when inserting new pricelist items.

object <PricelistPriceRule> (PricelistPriceRule)
Responses
200

Success

500

Internal Server Error

post/CustomerService.svc/rest/UpdatePricelistItem
Request samples
{
  • "PartNo": "string",
  • "PricelistId": 0,
  • "Price": 0,
  • "PriceRecommended": 0,
  • "IsActive": true,
  • "PriceRule": {
    }
}
Response samples
{
  • "PartNo": "string",
  • "PricelistId": 0,
  • "Price": 0,
  • "PriceRecommended": 0,
  • "IsActive": true,
  • "PriceRule": {
    }
}