UCOS API
Programmatically manage order statuses, send notifications, and retrieve order data
Current and default version 1.6. Every endpoint accepts 1.0–1.6; send X-API-Version for 1.0–1.5.
Getting started
Base URL
https://api.ultimate-custom-order-status.apps.msmtech.ca/apiAPI versioning
Current version
Versions 1.0–1.6 are accepted; 1.6 is current and default. A request without X-API-Version is served 1.6, and the X-API-Version response header reports which version served the request.
curl -X GET "https://api.ultimate-custom-order-status.apps.msmtech.ca/api/v1/orders?page=1&limit=25&use_shopify_order_id=false&sort_by=created_at&sort_order=desc&order_type=ALL" \
-H "X-API-Key: ucos_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-H "X-API-Version: 1.6"Default behavior
A request without X-API-Version is served by 1.6. X-API-Version-Current and X-API-Version-Default both report 1.6; sending X-API-Version: 1.5 still returns the unchanged 1.5 payload.
X-API-Version: 1.6
X-API-Version-Current: 1.6
X-API-Version-Default: 1.6Available endpoints
/v1/ordersRetrieve a paginated list of orders with filtering, sorting, and search capabilities.
GET/v1/orders/:order_idRetrieve detailed information about a specific order by its ID.
GET/v1/statusesRetrieve a list of all custom order statuses configured in your system.
GET/v1/statuses/:status_idRetrieve detailed information about a specific custom order status by its ID.
POST/v1/orders/:order_id/notifyForcibly send customer notifications (email, SMS, WhatsApp) for a specific order.
POST/v1/orders/:order_id/statusUpdate the custom status of a specific order. Automatically sends notifications based on status configuration.
POST/v1/orders/notify-bulkSend notifications to customers for multiple orders in a single request.
POST/v1/orders/status-bulkUpdate the custom status for multiple orders in a single request.
Quick start
1. Generate an API key from your dashboard
Navigate to your app's Settings → API Keys section to generate a new API key. Make sure to save it securely as it will only be shown once.
Authentication header
Include your API key in the X-API-Key header with every request:
X-API-Key: ucos_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX2. Make your first API request with proper authentication
curl -X GET "https://api.ultimate-custom-order-status.apps.msmtech.ca/api/v1/orders?page=1&limit=25&use_shopify_order_id=false&sort_by=created_at&sort_order=desc&order_type=ALL" \
-H "X-API-Key: ucos_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-H "X-API-Version: 1.2"3. Handle the response
All responses use the same JSON envelope: { "success": true, "data": { ... } } on success, and { "success": false, "error": "..." } on failure. Check success before reading the payload.