# How to get Shipping address from order object in checkout api?

**URL:** <https://developer.squareup.com/forums/t/how-to-get-shipping-address-from-order-object-in-checkout-api/3872>\
**Category:** Questions\
**Tags:** sandbox, checkout-api, orders-api, customers-api\
**Created:** [October 6, 2021, 10:41am UTC](https://developer.squareup.com/forums/t/how-to-get-shipping-address-from-order-object-in-checkout-api/3872 "2021-10-06T10:41:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faisal](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/faisal/32/826_2.png) [@Faisal](https://developer.squareup.com/forums/u/Faisal)\
**Post date:** [October 6, 2021, 10:41am UTC](https://developer.squareup.com/forums/t/how-to-get-shipping-address-from-order-object-in-checkout-api/3872/1 "2021-10-06T10:41:49Z")

</div>

I am unable to get Shipping address from Response of CHECKOUT API. Sometime it include customer id but sometime there is no customer id why ?

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [October 6, 2021, 3:58pm UTC](https://developer.squareup.com/forums/t/how-to-get-shipping-address-from-order-object-in-checkout-api/3872/2 "2021-10-06T15:58:47Z")

</div>

👋 With the Checkout API the response won’t include the shipping address. If you have [ask\_for\_shipping\_address](https://developer.squareup.com/reference/square/checkout-api/create-checkout#request__property-ask_for_shipping_address) set to `true` the Square Checkout collects shipping information on your behalf and stores that information with the transaction information in the Square Seller Dashboard.

If you have the customers shipping address you can include the [pre\_populate\_shipping\_address](https://developer.squareup.com/reference/square/checkout-api/create-checkout#request__property-pre_populate_shipping_address) in the `CreateCheckout` request and the buyer’s shipping information is prepopulated on the checkout page as editable text fields.

---

<div class="post-metadata">

**Author:** ![1boris](https://avatars.discourse-cdn.com/v4/letter/1/4af34b/32.png) [@1boris](https://developer.squareup.com/forums/u/1boris)\
**Post date:** [February 11, 2022, 8:32pm UTC](https://developer.squareup.com/forums/t/how-to-get-shipping-address-from-order-object-in-checkout-api/3872/3 "2022-02-11T20:32:32Z")

</div>

@Bryan-Square - when I use Zapier to get completed orders to either an external system like sheets or even a woocommerce, the API for completed orders does not include the shipping address (its null). I collect the shipping address during checkout and it is on the transaction. Any suggestion how I can get that shipping address?

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [February 11, 2022, 8:51pm UTC](https://developer.squareup.com/forums/t/how-to-get-shipping-address-from-order-object-in-checkout-api/3872/4 "2022-02-11T20:51:55Z")

</div>

Where is the checkout happening. Is it with our online store? Do you have some example orders we can take a look at? 🙂

---

<div class="post-metadata">

**Author:** ![1boris](https://avatars.discourse-cdn.com/v4/letter/1/4af34b/32.png) [@1boris](https://developer.squareup.com/forums/u/1boris)\
**Post date:** [February 11, 2022, 9:03pm UTC](https://developer.squareup.com/forums/t/how-to-get-shipping-address-from-order-object-in-checkout-api/3872/5 "2022-02-11T21:03:05Z")

</div>

The process is 1. create an invoice manually in square 2. customer pays invoice and MUST provide shipping address 3. I want to send this invoice information to woocommerce (since customers can order via manual invoice or via web) and easier to print shipping/packing slips if order goes to woocomerce. However, I am unable to send shipping information from that invoice

 ![image](https://global.discourse-cdn.com/square/original/2X/c/ce2f57cfeeef752da60b675331bf9e1e90fcdc76.png)

---

<div class="post-metadata">

**Author:** ![1boris](https://avatars.discourse-cdn.com/v4/letter/1/4af34b/32.png) [@1boris](https://developer.squareup.com/forums/u/1boris)\
**Post date:** [February 11, 2022, 9:15pm UTC](https://developer.squareup.com/forums/t/how-to-get-shipping-address-from-order-object-in-checkout-api/3872/6 "2022-02-11T21:15:47Z")

</div>

Mapping closed Sqaure invoice to Woo:

 ![image](https://global.discourse-cdn.com/square/original/2X/0/0999df6f2f86750d8a861064d40e41998d2876d8.png)

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [February 11, 2022, 10:22pm UTC](https://developer.squareup.com/forums/t/how-to-get-shipping-address-from-order-object-in-checkout-api/3872/7 "2022-02-11T22:22:24Z")

</div>

Since this is with the WooCommerce integration it would need to be something that they add. All functions with that integration is managed by WooCommerce. 🙂
