shopify
shopify copied to clipboard
Adding `use_customer_default_address` to draft order resource
Setting this bool to true tells shopify to grab the default address for the customer.
Could be done by setting the addresses in the draft order create yourself, but a bool seems simpler to me. Let shopify figure it out.
It does seem to only work if you also pass a customer as well.
In their docs they say you can pass just the ID, in customer_id but I never got that to work. It never seemed to add a customer that way.