update_product_price
Update the selling price of a product without variants. Ideal for price adjustments or restoring original prices after promotions.
Instructions
[WRITE] 更新商品售價(無變體商品)。
【用途】 直接設定無變體商品的售價。適用於調價、促銷結束恢復原價等場景。 若商品有變體,請改用 update_variation_price。
【呼叫的 Shopline API】
PUT /v1/products/{product_id}/price
【回傳結構】 dict 含 success: bool, resource_id: str, message: str。
【副作用】
售價立即更新,前台同步顯示新價格
不影響進行中的訂單(訂單成立時已鎖定價格)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | 商品內部 ID | |
| price | Yes | 新售價(TWD) |