We recently had an API created that imported our customers restaurant orders (GLORIA FOOD APP) into Shopify Draft Orders. It works great except for 1 thing. When we have a NEW CUSTOMER who has never ordered from us before (they are not in the shopify customers database) the order doesn't show up in the Draft Orders. Can anyone give light on why that is happening. Myself and the API developer can't seem to figure it out.
Hey @odellsgf ,
Could I ask you to provide an x-request-id from a request that resulted in this error? It should be in the return headers. We can check this out to see what might be happening.
Usually, the process would be to create the customer first. Customers live in a different system than Orders do, inside Shopify, so they get treated a little differently. So first off, ensure you have created this new customer! If you succeed, then you obviously get a customer ID, and Draft Orders work much much better when you supply a customer ID as opposed to trying to pigeonhole new customer information into the Draft Order directly.
I think if you do that, a one-two punch, you'll have more success with Draft Orders. I know I ran into a lot of troubles when creating Customers, never mind them and Draft Orders, so focus on that aspect is probably for the best. Shopify is finicky with Customers as you probably know.
That is useless to us. We are importing an order from another app since Shopify is to lazy to work with restaurants. We can’t ask the customer to create an account on one app and then place their restaurant order on another app.
This is the shopify API and SDK subforum a place specifically for Shopify App development technical details.
We recently had an API created that imported
If this is not your expertise then connect with whoever created that API to be the one to guide this issue.