What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to associate a shipping address using StoreFront CartAPI?

How to associate a shipping address using StoreFront CartAPI?

ksmzn
Visitor
1 0 2

I am implementing a cart using the Cart API of the StoreFront API.
Even though I have sent customerAccessToken using cartBuyerIdentityUpdate Mutation, when I click on a checkoutUrl from a cart query response and go to a checkout screen, the customer's default Shipping Address is not entered.


Is there a way to associate the shipping address using the CartAPI?
Should I give up on using the CartAPI and implement the cart using only the CheckoutAPI?

 

Huge thank you in advance!

Reply 1 (1)

ShahnasEk
Shopify Partner
9 0 1

Is this issue resolved? Im having a similar issue where Im passing an address from the list of address when creating the cart. However, in the checkout url, the first address is shown as selected always.