1 Description:
In order to update the stock of the items listed in Miravia we have created an specific endpoint in order to manage the changes. There is a minor to update the stock between using only one warehouse or multi warehouses. In this guide, we are going to explain how to update the stock with only one warehouse.
Use this API to update the total inventory of the corresponding warehouse for an product.
2. UpdateQuantity
- update without multiwarehouse: call /updateQuantity with "quantity" and "seller_sku".
- udpate with multiwarehouse. call /updateQuantity with "warehouse_quantity" and "seller_sku".
JSON example
Please take into consideration:
- When updating the quantity, if you provide the SPU along with the SKU, all SKUs under the specified SPU will have their quantity updated.
- If you only provide the SKU, only that specific SKU's quantity will be changed.
- No more than 20 SKUs per call.
2.UpdatePrice
Description:
The "UpdatePrice" endpoint is designed to facilitate modifications to the pricing structure of products on the platform.
Please take into consideration:
- If the discount price field is empty, the value from the price field will be taken.
- If a discount price is added, the final price will reflect this discount.
- If the price field is empty and the discount price is not, an error will occur.
- No more than 20 SKUs per call.
- The price cannot exceed 2 decimals place
JSON example