{
"appKey": "AppKey",
"data": {
"businessSystemId": 1000,
"canReturn": 0,
"canTransfer": 0,
"code": "Code",
"couponDescription": "CouponDescription",
"couponName": "CouponName",
"couponStatus": "CouponStatus",
"couponType": "CouponType",
"couponWorth": 1,
"deliverChannel": "DeliverChannel",
"discountAmount": 1,
"discountRate": 1,
"issueMaxAmount": 100,
"maxDiscountAmount": 10,
"miniOrderAmount": 1000,
"pickupEndTime": "2021-01-30 00:00:00",
"pickupStartTime": "2021-01-10 00:00:00",
"pickupAfterDays": 10,
"ruleInstanceList": [
{
"actionType": 0,
"name": "Name",
"ruleInstanceDesc": "RuleInstanceDesc",
"ruleDetails": [
{
"ruleDetailValue": "12345,67890",
"ruleDictCode": "allow_products",
"ruleDictType": "list"
}
],
"ruleTemplateId": 1000
}
],
"financialAllocationList": [
{
"allocationOrgId": "AllocationOrgId",
"allocationOrgType": "AllocationOrgType",
"allocationRatio": 1
}
],
"useEndTime": "2021-01-30 00:00:00",
"useStartTime": "2021-01-10 00:00:00"
},
"operator": "Operator",
"operatorOrgId": "OperatorOrgId",
"operatorOrgType": "OperatorOrgType"
}
curl --location --request POST '/promotioncenter/coupon/createCoupon' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "AppKey",
"data": {
"businessSystemId": 1000,
"canReturn": 0,
"canTransfer": 0,
"code": "Code",
"couponDescription": "CouponDescription",
"couponName": "CouponName",
"couponStatus": "CouponStatus",
"couponType": "CouponType",
"couponWorth": 1,
"deliverChannel": "DeliverChannel",
"discountAmount": 1,
"discountRate": 1,
"issueMaxAmount": 100,
"maxDiscountAmount": 10,
"miniOrderAmount": 1000,
"pickupEndTime": "2021-01-30 00:00:00",
"pickupStartTime": "2021-01-10 00:00:00",
"pickupAfterDays": 10,
"ruleInstanceList": [
{
"actionType": 0,
"name": "Name",
"ruleInstanceDesc": "RuleInstanceDesc",
"ruleDetails": [
{
"ruleDetailValue": "12345,67890",
"ruleDictCode": "allow_products",
"ruleDictType": "list"
}
],
"ruleTemplateId": 1000
}
],
"financialAllocationList": [
{
"allocationOrgId": "AllocationOrgId",
"allocationOrgType": "AllocationOrgType",
"allocationRatio": 1
}
],
"useEndTime": "2021-01-30 00:00:00",
"useStartTime": "2021-01-10 00:00:00"
},
"operator": "Operator",
"operatorOrgId": "OperatorOrgId",
"operatorOrgType": "OperatorOrgType"
}'
{
"code": "200",
"message": null,
"data": {
"id": 17679494926515656,
"code": "0zMoACQHyI1"
},
"success": true
}