Platform-based coupons

1
Add platform metadata to the Order object. 
2
Launch a discount campaign for 15$ for customers who made an order in your new store.
3
Add order-based validation rules to the campaign.

Platform coupons diagram

Add metadata

To quickly differentiate different orders coming from various platforms, add a metadata property to the Order object. For instance, add platform property to the Order object and set its value to be equal shop_2. This way, you will be able to track orders made in the shop_2  and offer customers discounts for orders made in this specific shop.

Visit the Metadata Schema in your Project Settings and add a new metadata property. 

Platform metadata

If you mark this metadata property as mandatory, all orders will need to be accompanied by the platform metadata.

Create a coupon campaign

Next, create a coupon campaign for 15$ off for all customers who made an order via shop_2. Begin by filling in the general details of your campaign, such as name, code pattern, code redemption limits, auto-update mode, timeframe, and more. 

Please follow this tutorial for a step-by-guide for a unique coupon campaign.

In the third step, choose the discount value, e.g., 15$. Note that in the case of percentage discounts, you can set up the maximum discounted amount to protect your promotional budget. 

15$ discount coupon code

The currency of your campaigns is set per project.

Add validation rules

Next, set up proper validation rules to limit the eligibility of the discount codes only to order made via shop_2. In this campaign, you should use Order metadata satisfy and select shop_2 as your property. This way, only orders with this metadata in the API call, will be eligible for the discount. 

Order metadata

Confirm the validation rules with Add and Save. Make sure to name it.

Save the campaign and move on to the Distribution tab to deliver codes to customers. 

You can share the codes with customers via multiple channels, such as email, SMS, push notifications, web banners, etc. You may send codes to selected customer segments or individual customers or set up the automatic distribution for customers who created an account or made an order in the selected store.

Please visit this tutorial to learn more about delivering codes to customers.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.