文档中心 > Miravia Open Platform

Miravia - Update product information

更新时间:2023/01/06 访问次数:344

1. Description

This tutorial guides you to update the existing products, include the product attributes and sku atrributes.

2. The flow of API calls:

2.1 Get SellerSKU of existing product

You can use GetProduct to retrieve the SellerSKU which is the key of your product on Miravia.

2.2 Update Product

With SellerSKU of the product, you can use UpdateProduct to update all the attributes of products and skus, also include price and stock.


Case : Change image/name/brand of spu and quantity/special price/variant's option of sku, or any other arributes you need to update.

Comparison of updated information shows as below:

Before update
image

image


Updated payload

{
    "Request": {
        "Product": {
            "ItemId": "1355872200363472",
            "Images": {
                "Image": ["https://fb-es.mrvcdn.com/kf/Ea5bf84ef84eb4084869817b111c1397bM.jpg",
          "https://fb-es.mrvcdn.com/kf/Ed72d9****************3df.jpg", 
          "https://fb-es.mrvcdn.com/kf/Ed72d9****************3df.jpg", 
          "https://fb-es.mrvcdn.com/kf/Ed72d9****************3df.jpg",
          "https://fb-es.mrvcdn.com/kf/Ed72d9****************3df.jpg", 
          "https://fb-es.mrvcdn.com/kf/Ed72d9****************3df.jpg", 
          "https://fb-es.mrvcdn.com/kf/Ed72d9****************3df.jpg", 
          "https://fb-es.mrvcdn.com/kf/Ed72d9****************3df.jpg"]
            },
            "Attributes": {
                "name": "JiaTestProduct03-update",
                "description": "normal",
                "brand": "Kiabi",
                "clothing_material": "Cashmere",
                "Shoe_Heel_Type": "ffff",
                "Fabric_Care_Instructions": "Dry Clean Only",
                "Made_in": "China",
                "Shoes_Type": "Basic",
                "short_description": "richText",
                "Hazmat": "None",
                "delivery_option_express": "No",
                "delivery_option_standard": "No",
                "delivery_option_sof": "Yes"
            },

            "Skus": {
                "Sku": [{
                    "SellerSku": "JiaTestProduct03-02",
                    "quantity": 40,
                    "size": "2XL",
                    "color_family": "Red",
                    "price": 15
                    "special_price": 120,
                    "ean_code": "456",
                    "package_weight": 1,
                    "package_length": 1,
                    "package_width": 1,
                    "package_height": 1,
                    "package_content": "text",
                    "Images": {
                        "Image": ["https://fb-es.mrvcdn.com/kf/Ea5bf84ef84eb4084869817b111c1397bM.jpg"]
                    }
                }]
            }
        }
    }
}


3. Notice when updating

  1. SellerSku is the key of your product on Miravia, which can't be updated, but you can add a new sku in your existing product.
  2. Please ensure the updated brand has submitted an application and obtained authorization.
  3. The maxmium number of spu and sku images is 8.


FAQ

关于此文档暂时还没有FAQ
返回
顶部