Create price guard

Creates a price guard record that can contain various price kinds other than the elemental prices such as base price, sale price, and clearance price.

SecurityAuthorizationToken
Request
header Parameters
required
object

Valid JSON object that must contain account, stage, date, and channel attributes. eg - {"stage":"prod","account":"5f328bf0b","date":"2020-12-12T08:00:00.000Z","channel":12}

Authorization
required
string

Authorization token or access token for the user, provided by fabric. It can be obtained after logging into fabric's copilot account.

Example: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...
Request Body schema: application/json
itemId
required
integer

Item ID

itemSku
string

Item SKU

priceListId
required
integer

PriceList ID

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.

Responses
200

OK

400

Bad request

404

Not Found

500

Internal Server Error

post/api-offers/price-guard
Request samples
application/json
{
  • "itemId": 10000000123,
  • "itemSku": "DEF-SKU-1",
  • "priceListId": 100000,
  • "MSRP": 299,
  • "MAP": 299,
  • "ceiling": 299,
  • "floor": 299
}
Response samples
application/json
{
  • "_id": "614b58924e92f6861ac9d43b",
  • "itemId": 10000000123,
  • "itemSku": "DEF-SKU-1",
  • "priceListId": 100000,
  • "MSRP": 299,
  • "MAP": 299,
  • "ceiling": 299,
  • "floor": 299,
  • "deleted": false,
  • "createdAt": "2020-12-14T12:15:43.646Z",
  • "updatedAt": "2021-12-14T12:15:43.646Z"
}