import_type ของชุดคูปอง:users_client_id = null) จากพูล ส่งคืน INSUFFICIENT_COUPONS (400) หากมีไม่เพียงพอexpire_date: วันหมดอายุแบบกำหนดตายตัวexpire_after_days: จำนวนวันนับจากวันนี้จนหมดอายุcurl --location --request POST 'https://core.privageapp.com/v2/connect/coupon/assign' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"coupon_set_id": 12,
"member_uuid": "member-uuid-here",
"quantity": 1,
"expire_after_days": 30
}'{
"coupons": [
{
"uuid": "string",
"code": "string",
"expire_date": "2019-08-24T14:15:22.123Z"
}
]
}