Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [unreleased]

### Added

- 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"

### Changed

Expand Down
6 changes: 6 additions & 0 deletions src/stapi_fastapi/models/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ class OrderStatusCode(StrEnum):
rejected = "rejected"
completed = "completed"
canceled = "canceled"
scheduled = "scheduled"
held = "held"
processing = "processing"
reserved = "reserved"
tasked = "tasked"
user_cancelled = "user_cancelled"


class OrderStatus(BaseModel):
Expand Down