Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to add a customer to an Object Programatically

How to add a customer to an Object Programatically

the_h
Shopify Partner
9 0 2
Is there a way to programatically add a customer to an order?

I've tried to
  • update the order through the Rest Admin api endpoint PUT order id but all that does is update the email on the order object (even if the email is attached to an existing customer).
  • update the order through the GraphQL orderUpdate mutation. Same outcome as before.
Any and all help would be much appreciated thanks!
Replies 0 (0)