v1
latestOpenAPI 3.0.02026-07-26318168886.7 KBChannels
Update Product Channel Price
To update product channel price<br>更新商品分店價格
put/channels/{channel_id}/products/{product_id}/prices/{id}
Path parameters
channel_idstring required
Channels's ID<br>通路 ID
product_idstring required
Products's ID<br>商品 ID
idstring required
PriceSet's ID<br>分店價格 ID
Request body
Example request
{
"price": 23.16,
"price_details": [
{
"variation_key": "610258858c5acd00452fcf8d",
"price": 996.12
}
]
}Response
Updated
Example response
{
"price": {
"cents": 999999999,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$999,999,999",
"dollars": 999999999
},
"price_sale": {
"cents": 999999999,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$999,999,999",
"dollars": 999999999
},
"price_details": [
{
"variation_key": "5d3594c276e7ec003b7021c0",
"price": {
"cents": 999999999,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$999,999,999",
"dollars": 999999999
},
"price_sale": {
"cents": 999999999,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$999,999,999",
"dollars": 999999999
}
}
]
}