Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
mutation updateDestinationAddress($cartId: ID!, $buyerIdentity: CartBuyerIdentityInput!) { cartBuyerIdentityUpdate(cartId:$cartId, buyerIdentity: $buyerIdentity){ cart{ deliveryGroups(first:1){ edges{ node { deliveryOptions{ title estimatedCost{ amount } } } } } } } }
{ "cartId": "<<replace with some cart id here>>", "buyerIdentity": { "deliveryAddressPreferences": [ { "deliveryAddress": { "address1": "123 Example St", "address2": "Apt 4", "city": "New York", "company": "Company Name", "country": "United States", "firstName": "John", "lastName": "Doe", "phone": "555-555-5555", "province": "NY", "zip": "12123" } } ] } }But I am not able to get any rates....
-I am working on a Hydrogen dev store, and the store is still live with liquid theme.