post https://admin.sandbox.vouchery.app/api/v2.1/campaigns//rules#___customer_category
Create a rule.
Log in to see full request history
Responses
Create a rule.
xxxxxxxxxx
11curl --request POST \
--url 'https://admin.sandbox.vouchery.app/api/v2.1/campaigns/campaign_id/rules#___customer_category' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"category_type": "customer",
"matching_type": "any_of",
"type": "CustomerCategory"
}
'
Try It!
to start a request and see the response here! Or choose an example: