PUT
/
api-offers
/
price-guard
/
{priceGuardId}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Path Parameters

priceGuardId
number
required

ID of the price guard to update

Body

application/json
itemId
integer
required

Item ID

priceListId
integer
required

PriceList ID

itemSku
string

Item SKU

MSRP
number

Manufacturer suggested retail price

MAP
number

Minimum advertised price

ceiling
number

Maximum price the seller is allowed to charge for the product. Price created for the item ID or item SKU under the specified pricelist should not exceed the given ceiling price.

floor
number

Lowest price at which the product can be sold. Price created for the item ID or item SKU under the specified pricelist should not be lower than the given floor price.

Response

200 - application/json
_id
string

fabric database ObjectId of the record

itemId
integer

Item ID

itemSku
string

Item SKU

priceListId
integer

ID of the pricelist under which the price kinds are created

MSRP
number

Manufacturer suggested retail price

MAP
number

Minimum advertised price

ceiling
number

Maximum price the seller is allowed to charge for the product. Price created for the item ID or item SKU under the specified pricelist should not exceed the given ceiling price.

floor
number

Lowest price at which the product can be sold. Price created for the item ID or item SKU under the specified pricelist should not be lower than the given floor price.

deleted
boolean

true: price guard is deleted<br /> false: price guard is not deleted

createdAt
string

Creation date of the record

updatedAt
string

Last updated date of the record