Skip to content

Commit

Permalink
rename status user_cancelled to user_canceled (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
philvarner authored Feb 11, 2025
1 parent 78ac040 commit 5de2872
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

- Added token-based pagination to `GET /orders`, `GET /products`,
`GET /orders/{order_id}/statuses`, and `POST /products/{product_id}/opportunities`.
- Optional and Extension STAPI Status Codes "scheduled", "held", "processing",
"reserved", "tasked", and "user_cancelled"
- Optional and Extension STAPI Status Codes "scheduled", "held", "processing", "reserved", "tasked",
and "user_canceled"
- Asynchronous opportunity search. If the root router supports asynchronous opportunity
search, all products must support it. If asynchronous opportunity search is
supported, `POST` requests to the `/products/{productId}/opportunities` endpoint will
Expand Down
2 changes: 1 addition & 1 deletion src/stapi_fastapi/models/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class OrderStatusCode(StrEnum):
processing = "processing"
reserved = "reserved"
tasked = "tasked"
user_cancelled = "user_cancelled"
user_canceled = "user_canceled"


class OrderStatus(BaseModel):
Expand Down

0 comments on commit 5de2872

Please # to comment.