Update Price

Updates a product price by its unique ID.

❗️

Take notice!

This request updates all values already set. Pay attention and don't have anything lost!

Request body example

{
  "sellerId": "02232a07-c810-4092-97a0-539b3b39d875",
  "price": 29.90,
  "oldPrice": 39.90 
}

🚧

Hey!

When the product isn't with a promotional price, the fields "price" and "oldPrice" should be the same.
If the product is on sale, the fields can be different, but "oldPrice" ALWAYS must be higher than "price".

Fields Description

FieldTypeDescription
sellerIDStringThe seller ID or CNPJ
priceFloatThe product current price
oldPriceFloatProduct old price

📘

Result

A 204- No Content result means that the stock was successfully updated.

Language
Authorization
Basic
base64
:
URL