Skip to content

Commit

Permalink
Merge pull request #88 from trebol-ecommerce/chore/new-standard-statu…
Browse files Browse the repository at this point in the history
…s-codes

Update standard status codes
  • Loading branch information
bglamadrid authored Aug 16, 2024
2 parents 2806149 + fe31871 commit 3eabbd6
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 43 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `SellDetail` -> `OrderDetail`
- `SellDetailProperties` -> `OrderDetailProperties`
- All uses of the noun in literal descriptions
- [BREAKING CHANGE] Standard status codes in replacement of vague `200`
- All `/data/` POST endpoints will return `201`
- Excepting the three subroutes within `/data/orders` which will return `204`:
- `/confirmation`
- `/rejection`
- `/completion`
- All `/data/` PUT, PATCH, DELETE and OPTIONS endpoints will return `204`

### Removed

Expand Down
Loading

0 comments on commit 3eabbd6

Please sign in to comment.