Hello
I run a shop which sells physical goods but when an order is placed, I would like to send the customer Name & Email via the API to my own database which I can create an account based off their Shopify order details, so users don't have to sign-up for other services my store provides like a custom support ticket system. With every product we send out we create a unique code we send in their package which they can enter on our website to get a random coupon code for a % off their next order or a free box of chocolates as a thank you. I would like to generate and store these codes dynamically for users who place an order, every time.
Is this possible?
Your help is much appreciated.