Errors
Errors use a stable machine code and a readable message.
{
"error": "pricebook_not_effective",
"message": "Pricebook is not effective for the current date.",
"details": {
"pricebookCode": "BUSINESS_UK"
}
}
| Status | Meaning |
|---|---|
400 | Invalid request shape or domain input |
401 | Missing, invalid or expired token |
403 | Valid token without the required access |
404 | Resource or published context not found |
409 | Version, state, duplicate or domain conflict |
422 | Semantically invalid command where documented |
500 | Unexpected platform error |
Branch on error, not on message text. Preserve the returned details and correlation context for diagnostics.