Order Status Service

Back

Overview

Order Statuses represent the lifecycle stages of a sales order within the system.

They provide a consistent reference for:

Order Statuses are tenant-scoped and managed independently. Changing or removing a status does not automatically modify related orders.

All operations are tenant-aware and scoped to the current tenant.


Endpoints

Back to Reference

GET

/api/v1/OrderStatus/GetAllOrderStatuses

Returns all order statuses for the current tenant.

Behavior:

Authorization:


GET

/api/v1/OrderStatus/GetOrderStatusById/{id}

Returns a single order status by its numeric identifier.

Behavior:

Authorization:


POST

/api/v1/OrderStatus/AddNewOrderStatus

Creates a new order status.

Request body:

Behavior:

Errors:

Authorization:


PUT

/api/v1/OrderStatus/UpdateOrderStatusById/{id}

Updates an existing order status.

Request body:

Behavior:

Errors:

Authorization:


DELETE

/api/v1/OrderStatus/DeleteOrderStatusById/{id}

Deletes an order status by its ID.

Behavior:

Errors:

Authorization:


Notes