Outgoing Order Preparation API

Manage outgoing order preparation records

Base URL

https://{tenant}.logzi.com/api/order_out_pre/

Every request returns a JSON response. On success result.code == 1, on failure result.code == 0. This API manages the outgoing order preparation workflow — it lets you create preparation records (from an existing order or as a new order), update, retrieve, and delete them.

GET /api/order_out_pre/get_pre

Retrieve a single preparation record by identifier.

Query Parameters

ParameterTypeRequiredDescription
idintPreparation record identifier

Example Request

GET /api/order_out_pre/get_pre?id=1
X-API-KEY: {your_api_key}
GET /api/order_out_pre/list_pre

Paginated list of preparation records.

Query Parameters

ParameterTypeRequiredDescription
list_offsetintPagination offset (default: 0)
list_conditionobjectObject of filter conditions

Example Request

GET /api/order_out_pre/list_pre?list_offset=0
X-API-KEY: {your_api_key}
GET /api/order_out_pre/list_pre_light

Lightweight list of preparation records with minimal data.

Same parameters as the /list_pre endpoint.

POST /api/order_out_pre/save_pre

Update an existing preparation record.

POST Fields — data object

The data object must contain the preparation record's identifier and the fields to update.

Example Request

POST /api/order_out_pre/save_pre
X-API-KEY: {your_api_key}
Content-Type: application/json

{ "data": { "id": 5, ... } }
POST /api/order_out_pre/save_pre_new

Create a new preparation record (for a new order).

POST Fields — data object

The data object must contain the new preparation record's data (partner, line items, date, etc.).

Example Request

POST /api/order_out_pre/save_pre_new
X-API-KEY: {your_api_key}
Content-Type: application/json

{ "data": { ... } }
POST /api/order_out_pre/delete_pre

Delete a preparation record by identifier.

POST Fields — data object

FieldTypeRequiredDescription
idintIdentifier of the preparation record to delete

Example Request

POST /api/order_out_pre/delete_pre
X-API-KEY: {your_api_key}
Content-Type: application/json

{ "data": { "id": 5 } }

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!