import HenrySDK from '@henrylabs/sdk';const client = new HenrySDK({ apiKey: process.env['HENRY_SDK_API_KEY'], // This is the default and can be omitted});const response = await client.checkout.session.retrieveShippingInfo();console.log(response.message);
Retrieves the shipping details for the current checkout session.
GET
/
checkout
/
session
/
shipping
JavaScript
Copy
import HenrySDK from '@henrylabs/sdk';const client = new HenrySDK({ apiKey: process.env['HENRY_SDK_API_KEY'], // This is the default and can be omitted});const response = await client.checkout.session.retrieveShippingInfo();console.log(response.message);