Customer
Create promotions by customer
Create promotions for specific customers
post/shops/{SHOP_ID}/promotion_advance/create_multi
Path parameters
SHOP_IDinteger required
Example:4
Shop ID
Request body
Example request
{
"promotion_advance": {
"promotion": {
"start_time": "2024-09-30T04:58:30.020Z",
"end_time": "2024-10-30T04:58:30.020Z",
"warehouse_ids": [],
"customer_tags": [],
"type": "discount_by_coupon_id",
"is_activated": true,
"promo_code_info": {
"discount": 5,
"is_percent": true,
"max_discount_by_percent": 100000,
"disable": false,
"order_price_min": 2000000,
"order_price_max": 3000000,
"no_applied_products_in_other_promotions": true,
"discount_after_other_discount": true
}
},
"shop_customer_ids": [
"a8c1113d-55c2-4f7e-b33a-d4ecd76668fd"
]
}
}Response
Success
Changes
No recorded changes to this endpoint across all 1 revision of this API.