Creating order with shipping and billing addresses using the API

Creating order with shipping and billing addresses using the API

Happiness
Shopify Partner
20 0 17

Hi! I'm trying to add shipping and billing addresses to the order while creating it with POST /admin/orders.json request. I've added billing_address and shipping_address properties with all address fields (except latitude and longitude) including first_name and last_name. But order is creating with an empty addresses as well as customer is. Values for those fields were taken from the API examples.

Can anyone explain what else should be included to achieve creating orders with this data?

Reply 1 (1)

asafad
Shopify Partner
2 0 0

I'M having the same issue...
@Happiness 
did you manage to find out?