You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to return in storefront the shipping calculator errors from the function webhook

Summary:

Hello,

Currently we use the function webhook shipping calculator to price the shipping and sometimes we have an item related error so we need to return the error so that the user can fix it, I already tested using a webhook site to return the errors according to this doc Return webhook errors in an endpoint response but no luck it always returns the empty shipping method without the errors. The endpoint that I'm expecting the error is the following /ccstore/v1/shippingMethods POST

Content:

Version:

25.03

Code Snippet:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!