Set a price
post/shop/prices
Set a price. It goes into the price history; it may not go under the floor, and a previous price must be the lowest of the last 30 days.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
shop:admin- Mcp
rivier_shop_price_set- Sdk
shop.price.set- Cli
shop price set
Request bodyapplication/json, required
- variantIdstring (uuid)required
- currencystringrequiredPattern: ^[a-z]{3}$.
- amountMinorintegerrequiredAt least 0. At most 9007199254740991.
- compareAtMinorinteger or null
- minQtyintegerDefault: 1. At least 1. At most 100000.
- channelstringDefault: . At most 40 characters.
- countrystringDefault: .
- validFromstring (date-time) or null
- validTostring (date-time) or null
- reasonstringDefault: . At most 200 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring