Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Shopify Webhook Create Order

eatplants
Visitor
2 0 0

Hello nice People :),

 

the Webhook Create Order is not sending the address_line_address2 is this just a bug from my side and do's anyone know what could be a solution here

 

Best, Bene

Reply 1 (1)

cdarne
Shopify Staff
30 5 14

Hi Bene,

 

It looks like for an Order that the address will be set as `address1` and `address2` fields. But this can depend on which version of the API you're using. I'd advice you look at the documentation with the API version you're using here: https://shopify.dev/api/admin-rest/2021-10/resources/order#[post]/admin/api/2021-10/orders.json.

 

I hope this will help!

 

Cheers,

 

Cédric | Developer @ Shopify

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