Skip to content

Conversation

@rohailaltaf
Copy link

Adds support for the checkoutShippingLineUpdate mutation so you can select shipping method programmatically.

Example usage:

const checkoutId = 'Z2lkOi8vc2hvcGlmeS9DaGVja291dC9kMTZmM2EzMDM4Yjc4N=';
const shippingRateHandle = 'Standard';

client.checkout.updateShippingLine(checkoutId, shippingRateHandle).then(checkout => {
    // Do something with the updated checkout
});

@ghost ghost added the cla-needed label Sep 10, 2020
@rohailaltaf
Copy link
Author

Signed the CLA but I dont think I have permissions to re-run the checks 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant