-
Notifications
You must be signed in to change notification settings - Fork 2
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 fast checkout hydrateOrder endpoint #261
Conversation
b1a8c97
to
e8e8141
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So looks good, testing on my shop though I got the following error:
{
"status": 422,
"errors": [
"{\"errors\":[\"Error at '\\\/totals\\\/discount_total': Value is not nullable\"],\"message\":\"Request validation failed for the reasons noted\"}"
],
"body": []
}
I didn't have a discount present.
Thank you for catching this @mwraich ! Just pushed a small change to account for no discounts. |
Add a new class which hits the fast checkout hydrate order endpoint.
This will hydrate a Bold simple order type with data from a Magento quote.