v1
latestOpenAPI 3.0.02026-07-26318168886.7 KBChannels
Create Product Channel Price
To create new product channel price<br>創建商品分店價格
post/channels/{channel_id}/products/{id}/prices
Path parameters
channel_idstring required
Channels's ID<br>通路 ID
idstring required
Products's ID<br>商品 ID
Request body
Example request
{
"price": 23.16,
"price_details": [
{
"variation_key": "610258858c5acd00452fcf8d",
"price": 996.12
}
]
}Response
Created
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
}
}
]
}