New Customer not showing on draft order via an API import

odellsgf
Visitor
3 0 0

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.

Thanks

Tony

Replies 6 (6)
GrahamS
Shopify Staff (Retired)
Shopify Staff (Retired)
193 36 43

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.

Best,

To learn more visit the Shopify Help Center or the Community Blog.

odellsgf
Visitor
3 0 0

I have no idea what you are asking for I'm a business owner not a programer. Explanation would be helpful.

HunkyBill
Shopify Expert
4839 60 357

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.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
odellsgf
Visitor
3 0 0

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.

PaulNewton
Shopify Partner
5554 502 1138

@odellsgf wrote:

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.


@odellsgf wrote:

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.

 

New Feature: Automatic free shipping discounts


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


Defeat problems ,Learn To Ask Questions The Smart Way

HunkyBill
Shopify Expert
4839 60 357

So sorry for wasting your time. I wish you the best in fixing lazy Shopify!

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com