Base URL
https://{tenant}.logzi.com/api/order_out_running/
Every request returns a JSON response. On success result.code == 1, on failure result.code == 0. This API manages the automatic/scheduled run process for purchase orders — it allows managing and triggering individual or bulk run records.
/api/order_out_running/get_running
Retrieve a single run record by identifier.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Run record identifier |
Example request
GET /api/order_out_running/get_running?id=1
X-API-KEY: {your_api_key}
/api/order_out_running/get_list_running
Paginated list of run records.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_offset | int | Pagination offset (default: 0) | |
list_condition | object | Filter conditions object |
Example request
GET /api/order_out_running/get_list_running?list_offset=0
X-API-KEY: {your_api_key}
/api/order_out_running/save_running
Create or trigger a single run record.
POST fields — data object
The data object should contain the identifier of the order to run and its run parameters.
Example request
POST /api/order_out_running/save_running
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 1 } }
/api/order_out_running/save_running_all
Bulk run with filter conditions — trigger multiple orders at once.
POST fields
| Field | Type | Required | Description |
|---|---|---|---|
list_condition | object | Filter conditions object | |
list_count | int | Maximum number of orders to process | |
company_id | int | Company identifier for filtering | |
company_user_id | int | Staff member identifier for filtering |
Example request
POST /api/order_out_running/save_running_all
X-API-KEY: {your_api_key}
Content-Type: application/json
{
"list_condition": { "company_id": 1 },
"list_count": 50,
"company_id": 1,
"company_user_id": 2
}
Create your account now,
pay later!