注意:以下文档只适用于TOP接口,请谨慎使用!
In order to update the stock of the items listed in Miravia we have 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.
To update the stock, you need to indicate the Seller SKU that you used to list the product in Miravia.
curl --location --request POST 'https://api.miravia.com/rest/product/stock/sellable/update' \ --form 'app_key="{{app_key}}"' \ --form 'access_token="{{access_token}}"' \ --form 'timestamp="1686064514378"' \ --form 'sign="{{sign}}"' \ --form 'sign_method="sha256"' \ --form 'payload="{ \"Request\": { \"Product\": { \"Skus\": { \"Sku\": [ { \"SellerSku\": \"1356310145091188-1685447068028-0\", \"SellableQuantity\": \"60\" } ] } } } }"'