ecom-admin
  1. 5.2.1 产品管理
ecom-admin
  • 5.1 系统管理模块
    • 5.1.1 用户管理
      • /sys/users
      • /sys/users/{id}
      • /sys/users
      • /sys/users/{id}
      • /sys/users/{id}
    • 5.1.2 角色管理
      • /sys/roles
      • /sys/roles/{id}
      • /sys/roles
      • /sys/roles/{id}
      • /sys/roles/{id}
    • 5.1.3 菜单管理
      • /sys/menus
      • /sys/menus/{id}
      • /sys/menus
      • /sys/menus/{id}
      • /sys/menus/{id}
    • 5.1.4 权限管理
      • /sys/permissions
      • /sys/permissions/{id}
      • /sys/permissions
      • /sys/permissions/{id}
      • /sys/permissions/{id}
    • 5.1.5 部门管理
      • /sys/departments
      • /sys/departments/{id}
      • /sys/departments
      • /sys/departments/{id}
      • /sys/departments/{id}
    • 5.1.6 日志管理
      • /sys/logs
      • /sys/logs/{id}
      • /sys/logs/type
      • /sys/logs/{id}
  • 5.2 商品与赠品管理模块
    • 5.2.1 产品管理
      • /stuff/products
        GET
      • /stuff/products/{id}
        GET
      • /stuff/products
        POST
      • /stuff/products
        PUT
      • /stuff/products/{id}
        DELETE
      • /stuff/products/import
        POST
      • /stuff/products/condition
        GET
    • 5.2.2 商品管理
      • /goods/page
      • /goods/{id}
      • /goods/save
      • /goods/update
      • /goods/delete/{id}
      • /goods/condition
      • /goods/all
    • 5.2.3 产品类型管理
      • /productType/page
      • /productType/{id}
      • /productType/save
      • /productType/update
      • /productType/delete/{id}
      • /productType/condition
    • 5.2.4 品牌管理
      • /brand/page
      • /brand/{id}
      • /brand/save
      • /brand/update
      • /brand/delete/{id}
    • 5.2.5 供应商管理
      • /supplier/page
      • /supplier/{id}
      • /supplier/save
      • /supplier/update
      • /supplier/delete/{id}
    • 5.2.6 商品价格调整管理
      • /stuff/price-adjustments
      • /stuff/price-adjustments/{id}
      • /stuff/price-adjustments
      • /stuff/price-adjustments/{id}
      • /stuff/price-adjustments/{id}
      • /stuff/price-adjustments/pending
      • /stuff/price-adjustments/{id}/approve
    • 5.2.7 商品转赠品管理
      • /stuff/goods-gifts
      • /stuff/goods-gifts/{id}
      • /stuff/goods-gifts
      • /stuff/goods-gifts/{id}
      • /stuff/goods-gifts/{id}
      • /stuff/goods-gifts/pending
      • /stuff/goods-gifts/{id}/approve
    • 5.2.8 赠品管理
      • /stuff/gifts
      • /stuff/gifts/{id}
      • /stuff/gifts
      • /stuff/gifts/{id}
      • /stuff/gifts/{id}
    • 5.2.9 赠品转商品管理
      • /stuff/gifts-goods
      • /stuff/gifts-goods/{id}
      • /stuff/gifts-goods
      • /stuff/gifts-goods/{id}
      • /stuff/gifts-goods/{id}
      • /stuff/gifts-goods/pending
      • /stuff/gifts-goods/{id}/approve
  • 5.3 活动管理模块
    • 5.3.1 促销活动管理
      • /activity/promotions
      • /activity/promotions/{id}
      • /activity/promotions
      • /activity/promotions/{id}
      • /activity/promotions/{id}
      • /activity/promotions/{id}/audit
      • /activity/promotions/{id}/audit
  • 5.4 订单管理模块
    • 5.4.1 B2C订单管理
      • /business/orders
      • /business/orders/{id}
      • /business/orders
      • /business/orders/{id}
      • /business/orders/{id}
      • /business/orders/{id}/items
      • /business/orders/items/{id}
      • /business/orders/items
      • /business/orders/items/{id}
      • /business/orders/items/{id}
      • /business/orders/{id}/items
      • /business/orders/pending
    • 5.4.2 出库单管理
      • /business/outbounds
      • /business/outbounds/{id}
      • /business/outbounds
      • /business/outbounds/{id}
      • /business/outbounds/{id}
      • /business/outbounds/{id}/export
  • 5.5 售后管理模块
    • 5.5.1 维修点管理
      • /aftersale/repair-centers
      • /aftersale/repair-centers/{id}
      • /aftersale/repair-centers
      • /aftersale/repair-centers/{id}
      • /aftersale/repair-centers/{id}
    • 5.5.2 退换货管理
      • /aftersale/returns
      • /aftersale/returns/{id}
      • /aftersale/returns
      • /aftersale/returns/{id}
      • /aftersale/returns/{id}
      • /aftersale/returns/pending
      • /aftersale/returns/{id}/approve
      • /aftersale/returns/{id}/audit
      • /aftersale/returns/{id}/audit
  • 5.6 其它模块
    • /login
    • /me
    • /upload
  • 认证服务
    • 未命名接口
  • 测试接口
    GET
  • token
    GET
  • 未命名接口
    GET
  1. 5.2.1 产品管理

/stuff/products

开发中
PUT
/stuff/products
修改产品信息

请求参数

Body 参数application/json
object {0}
示例
{
    "id":12,
    "code":1013,
    "name":"小米空调2",
    "typeId":6,
    "brandId":33,
    "supplierId":5,
    "status":1
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT '/stuff/products' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id":12,
    "code":1013,
    "name":"小米空调2",
    "typeId":6,
    "brandId":33,
    "supplierId":5,
    "status":1
}'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2025-06-22 12:58:48
上一页
/stuff/products
下一页
/stuff/products/{id}
Built with