跳到主要内容
版本:202506

删除子款式

DELETE 

/openapi/2025-06/products/:product_id/variants/:variant_id

通过子款式 ID 删除指定子款式。

请求

Path参数

    product_id string必填

    子款式所属的商品 ID

    variant_id string必填

    待删除的子款式 ID

响应

OK

数据结构
    codestring

    错误码

    messagestring

    错误信息

    data object
    object