flexcommerce-orders
The full order lifecycle: payment, confirmation, partial shipments with tracking events, delivery, returns within a return window, refunds, guest order tracking and a customer-visible timeline.
Part of FlexCommerce — a complete, modular e-commerce and marketplace backend for Django + DRF, built for Nigeria and Africa. Every app is optional.
Features
- Every state change goes through one service with row locking and side effects (stock, coupons)
- Unpaid orders expire and release stock automatically
- Refunds validated against what was paid, paid out via the original gateway or wallet
- Returns with reasons, photos, approval, receipt (restock) and refund
- Guest tracking by order number + email, or a secret link
export_ordersCSV command
Install
pip install flexcommerce-orders
INSTALLED_APPS = [..., "rest_framework", "flexcommerce_core", "flexcommerce_orders"]
urlpatterns = [path("api/", include("flexcommerce_core.urls"))]
python manage.py migrate
Example: POST /api/orders/{id}/return/
Documentation
Requires Python 3.10+, Django 4.2+, Django REST framework 3.14+. MIT licensed.
Metadata
Release files for flexcommerce-orders 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flexcommerce_orders-1.0.0.tar.gz | 27.8 kB | With provenance | Details for flexcommerce_orders-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flexcommerce_orders-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for flexcommerce_orders-1.0.0-py3-none-any.whl |
Total release size: 58.5 kB
Release files / flexcommerce_orders-1.0.0.tar.gz
| Download URL | flexcommerce_orders-1.0.0.tar.gz |
|---|---|
| Size | 27.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
733c828d8bf1b2d6a8f4b1bfdec3ee69654a1388efa5a112a070fb374b46c01a
|
|
BLAKE2b-256 checksum How to use checksums |
6c53583ac12838fe233162c934b476f297c504136041e714a80ab30139d51529
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logRelease files / flexcommerce_orders-1.0.0-py3-none-any.whl
| Download URL | flexcommerce_orders-1.0.0-py3-none-any.whl |
|---|---|
| Size | 30.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e354bf276b26ec50dffdae00e95af1306ae4b2e2f343c01928a985d0fd687da
|
|
BLAKE2b-256 checksum How to use checksums |
ccf7b4a10e03c9d1f47082815bf44d8f428de78505bcb66a7640f65dc5e3104a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logSecurity for flexcommerce-orders 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for flexcommerce_orders-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.