Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for checkoutShippingLineUpdate mutation #786

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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