Transaction
Create advertising cost
Create advertising cost
post/shops/{SHOP_ID}/adv_costs
Path parameters
SHOP_IDinteger required
Example:4
Shop ID
Request body
Example request
{
"params": {
"cost_date": "2023-09-07 22:00:00",
"transaction": {
"name": "Chi phí quảng cáo",
"is_locked": false,
"note": "example",
"status": "0",
"time_incurred": "2023-09-07 15:00:00",
"tags": [
"Thẻ 1",
"Thẻ 2"
]
},
"items": [
{
"cost": 10000,
"tax": 5,
"warehouse_id": "IS",
"is_livestream": true,
"product": "1",
"pke_mkter": "test@gmail.com",
"source": {
"key": "-3",
"account": "3"
},
"is_wholesale": true,
"post_ids": [
"127967746288487_545680607828820"
]
}
]
}
}Response
Success
Changes
No recorded changes to this endpoint across all 1 revision of this API.