商品

数据结构 商品

Field 中文 Type Required
id 商品ID string yes
name 商品名称 string yes
status 状态 string yes
country 所属国家 string no
stock 库存 number no
sales 销量 number no
listPriceMin 列表价格(低) number no
listPriceMax 列表价格(高) number no
salePriceMin 销售价格(低) number no
salePriceMax 销售价格(高) number no
commissionRate 佣金率 number no
creatorCommission 达人佣金 number no
historyCommissionRate 历史佣金率 number no
historyCommission 历史佣金 number no
returnable 是否可退货 boolean no
freeShipping 是否免运费 boolean no
spu SPU string no
activeCreators 正在带货的达人 number no
totalCreators 已出单的达人 number no
createdTime 创建时间 datetime no
updatedTime 更新时间 datetime no
remark 备注 string no

Actions

  • list
  • get
  • create
  • update
  • delete
  • activate
  • deactivate
  • restock
  • adjust-price

Action Specs

huayang product list
huayang product list --status <string> --country <string>
huayang product get --id <string>
huayang product get --spu <string>
huayang product create --id <string> --name <string> --country <string> --list-price-min <number> --list-price-max <number> --sale-price-min <number> --sale-price-max <number> --stock <number>
huayang product update --id <string> --status <string> --stock <number> --sale-price-min <number> --sale-price-max <number> --commission-rate <number>
huayang product update --spu <string> --status <string> --stock <number> --sale-price-min <number> --sale-price-max <number> --commission-rate <number>
huayang product delete --id <string>
huayang product delete --spu <string>
huayang product activate --id <string>
huayang product activate --spu <string>
huayang product deactivate --id <string>
huayang product deactivate --spu <string>
huayang product restock --id <string> --stock <number>
huayang product restock --spu <string> --stock <number>
huayang product adjust-price --id <string> --sale-price-min <number> --sale-price-max <number>
huayang product adjust-price --spu <string> --sale-price-min <number> --sale-price-max <number>
最后更新于 2026-05-05 18:05
回到顶部