Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Commit 5de2872

Browse files
authored
rename status user_cancelled to user_canceled (#141)
1 parent 78ac040 commit 5de2872

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1111

1212
- Added token-based pagination to `GET /orders`, `GET /products`,
1313
`GET /orders/{order_id}/statuses`, and `POST /products/{product_id}/opportunities`.
14-
- Optional and Extension STAPI Status Codes "scheduled", "held", "processing",
15-
"reserved", "tasked", and "user_cancelled"
14+
- Optional and Extension STAPI Status Codes "scheduled", "held", "processing", "reserved", "tasked",
15+
and "user_canceled"
1616
- Asynchronous opportunity search. If the root router supports asynchronous opportunity
1717
search, all products must support it. If asynchronous opportunity search is
1818
supported, `POST` requests to the `/products/{productId}/opportunities` endpoint will

src/stapi_fastapi/models/order.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class OrderStatusCode(StrEnum):
4040
processing = "processing"
4141
reserved = "reserved"
4242
tasked = "tasked"
43-
user_cancelled = "user_cancelled"
43+
user_canceled = "user_canceled"
4444

4545

4646
class OrderStatus(BaseModel):

0 commit comments

Comments
 (0)