Discount code per affiliate

New Member
1 0 0

Hello, i would like to generate discount code per affiliate and somehow encode his id(email) in the discount entity itself, so that the affiliate can be tracked. I couldn't find a suitable field in the discount code to store such info.

Affiliate id(email) should be then looked up from discount code at shopify side.

Any hint?