Create a ruleCopy Pagepost https://admin.sandbox.vouchery.app/api/v2.1/campaigns/{campaign_id}/rulesCreate a rule.Recent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Path Paramscampaign_idintegerrequiredCampaign IDBody ParamsThis request is variable. There are a few variation of request body. Due to Swagger v2 limitations they are described as fake paths (endpoints). See documentation for paths: POST /api/v2.1/campaigns/{campaign_id}/rules#___customer_category, POST /api/v2.1/campaigns/{campaign_id}/rules#___additional_category, POST /api/v2.1/campaigns/{campaign_id}/rules#___product_category, POST /api/v2.1/campaigns/{campaign_id}/rules#___customer_max_redemptions, POST /api/v2.1/campaigns/{campaign_id}/rules#___customer_points, POST /api/v2.1/campaigns/{campaign_id}/rules#___timeframe, POST /api/v2.1/campaigns/{campaign_id}/rules#___time_of_order, POST /api/v2.1/campaigns/{campaign_id}/rules#___product_item_exists, POST /api/v2.1/campaigns/{campaign_id}/rules#___basket_itemstypestringenumrequiredCustomerCategoryAdditionalCategoryProductCategoryCustomerMaxRedemptionsCustomerPointsTimeOfOrderTimeframeTriggersAmountProductItemExistsShow 9 enum valuesResponses 200Created object 401Unauthorized error. 403Forbidden error. 422Unprocessable entity error. Validation failed. 500Internal server error. Try again in a few minutes or contact support.Updated almost 3 years ago Did this page help you?YesNo