文档中心 > Miravia Open Platform

Miravia - Add new Sku into exsiting product

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

1. Description

This tutorial guides you to add a new sku in the existing product on Miravia.

2. The flow of API calls:

  • Get SellerSku of your existing product by GetProduct API
  • Add one or more than one skus in the existing product by UpdateProduct API

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 Add sku

With SellerSKU of the product, you can use UpdateProduct to add one or more than one skus in the existing product on Miravia.

Case:Add one sku into item which id"1355872200363472" by the AssociatedSku "JiaTestProduct03-02"

Payload example

{
    "Request": {
        "Product": {
            "item_id": 1355872200363472,
            "AssociatedSku": "JiaTestProduct03-02",
            "Attributes": "",
            "Skus": {
                "Sku": [{
                    "SellerSku": "JiaTestProduct03-03",
                    "quantity": 20,
                    "size": "XL",
                    "color_family": "Yellow",
                    "price": 150,
                    "special_price": 100,
                    "ean_code": "201212140102",
                    "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 add a new sku

image

1. "AssociatedSku" is mandatory when adding a new sku, fill in an existing SellerSku which belong to the product where you want to add a new sku.
2. "SellerSku" and "ean_code" cannot be duplicated with existing sku.

FAQ

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