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

Added shipping_method_checkout_name to create parcel #37

Merged

Conversation

linaori
Copy link
Contributor

@linaori linaori commented Jul 5, 2024

This PR adds support for shipping_method_checkout_name, which is a free field that can be set when creating a parcel. We use this field to send a custom value to Sendcloud which can then be used by shipping rules to make decisions on.

This value can then be used in the shipment rules as following:
image

@villermen villermen self-requested a review July 8, 2024 08:06
Copy link
Member

@villermen villermen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Sorry for not getting back to this sooner. I wanted to take this PR as an opportunity to look into the amount of optional parameters to the createParcel() method. That should however be unrelated and for a future version (#38). Changes are good and I'm perfectly fine with them! Thanks for your contribution. I'll merge and push out a new version in a bit.

@villermen villermen merged commit 5b68de8 into Webador:master Aug 13, 2024
1 check passed
@villermen villermen assigned villermen and linaori and unassigned villermen Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants