# Update goods

Note: this exempt interface can only update part of the product field, affecting the draft data and online data, and the sku in the request package must already exist in the original online data such as out_sku_Id = "123" returns an error if it is not in the sku list of the original online data1000004

# Interface call request specification

Http request method: POST
https://api.weixin.qq.com/shop/spu/update_without_audit?access_token=xxxxxxxxx

# Request Parameter Sample

{
    "out_product_id": "1234566",
    "product_id": 1234566,
    "path": "pages/productDetail/productDetail?productId=2176180",
    "skus":
    [
        {
            "out_sku_id": "1024",
            "sale_price": 1300,
            "market_price": 1500,
            "stock_in a": 100,
            "sku_code": "A24525252",
            "barcode": "13251454"
        }
    ] 
}

# Return Package Example

{
    "errcode": 0,
    "errmsg":"ok",
    "data": 
    {
        "product_id": 1234566,
        "out_product_id": "1234566",
        "update_time": "2020-03-25 12:05:25"
    }
}

# Request Parameter Dxplaination

parameter type Is it necessary to fill out Introductions
out_product_id string yes Merchant custom product ID, with product_Id choose two
product_id number(uint64) yes Merchant custom product ID, with product_Id choose two
path string no Bound Mini Program product path
skus[] object array no sku array
skus[].out_sku_id string Required when skus exists Business custom skuID
skus[].sale_price number no Sale Price in Units
skus[].market_price number no Market prices in units
skus[].stock_A number no stock
skus[].barcode string no barcode
skus[].sku_code string no Product code

# Return parameter specification

parameter type Introductions
Errcode number Error code
errmsg string Error message
data.product_id number Trading Component Internal Product ID
data.out_product_id string Custom Product ID
data.update_time string Update time
data.skus object array sku array
data.skus[].sku_id string Trading Component Platform Custom skuID
data.skus[].out_sku_id string Business custom skuID