shopify icon indicating copy to clipboard operation
shopify copied to clipboard

Adding `use_customer_default_address` to draft order resource

Open ProtoJazz opened this issue 5 years ago • 0 comments

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.

ProtoJazz avatar Jun 12 '20 00:06 ProtoJazz