Purchase Order Run API

Manage automatic run records for purchase orders

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.

GET /api/order_out_running/get_running

Retrieve a single run record by identifier.

Query parameters

ParameterTypeRequiredDescription
idintRun record identifier

Example request

GET /api/order_out_running/get_running?id=1
X-API-KEY: {your_api_key}
GET /api/order_out_running/get_list_running

Paginated list of run records.

Query parameters

ParameterTypeRequiredDescription
list_offsetintPagination offset (default: 0)
list_conditionobjectFilter conditions object

Example request

GET /api/order_out_running/get_list_running?list_offset=0
X-API-KEY: {your_api_key}
POST /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 } }
POST /api/order_out_running/save_running_all

Bulk run with filter conditions — trigger multiple orders at once.

POST fields

FieldTypeRequiredDescription
list_conditionobjectFilter conditions object
list_countintMaximum number of orders to process
company_idintCompany identifier for filtering
company_user_idintStaff 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
}

Get in touch with us

Interested in our software? Feel free to write to us!

Need help?

If you can't find the answer and need assistance

Create your account now,
pay later!

Try it free for 3 days, no risk, no obligation!