Interface for setting "Problems" API in webhooks response #14584
lkostrowski
started this conversation in
RFC
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related: #14580
Context
Apps that work on taxes and shipping must be able to set semantic errors (aka problems) on checkout and order.
Payments (transactions) are not included because there is another layer of error handling via transactions results
API
All sync webhooks (at least related to checkout and order) should share the same structure of the response.
The response is optional - if the app is down, returning 500, Saleor will build a fallback.
If following response exists, Saleor will parse it and create Problems fields on Order and Checkout objects
Beta Was this translation helpful? Give feedback.
All reactions