API Design · Middle · Question 11 of 75

What's the right status for a request that's well-formed but violates a business rule, like 'can't ship an unpaid order'?

Explanation

Pick a convention and use it across the API. The body explains the rule that failed.

Further reading

Problem with a question

API Design · Middle · question 11

Test yourself

Take the API Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz