Skip to main content
supplier_orders

Create /supplier_orders

Create a purchase order to a supplier. Required: supplier, warehouse, status, order_date, responsible and items (at least one line). The number is assigned from the tenant's order series; the subtotal is summed from the lines. Line rate (purchase price) needs the order prices permission. Returns record with the detail projection.

POST
/supplier_orders
Authorizationstringheaderrequired

API key (Bearer token) created in Setup → API & MCP.

Body

application/json
clientstring

Client UUID the goods are ordered for.

commentstring

Comment.

confirmed_order_pick_datestring

Confirmed pick-up date (Y-m-d).

contact_personstring

Contact person UUID.

currencystring

Currency name (e.g. EUR). Tenant default when omitted on create.

custom_fieldsobject[]

Custom field values by slug.

delivery_addressstring

Delivery address.

delivery_typestring

warehouse (to our warehouse) or contact (straight to the client).

item_arrival_datestring

Goods arrival date (Y-m-d).

itemsobject[]required

Order lines; at least one. Each needs qty and item (catalog UUID, which fills code, description, unit, purchase price and VAT) or description. rate (purchase price, excl. VAT) needs the order purchase price permission.

Link 1.

Link 2.

Link 3.

notestring

Note.

note_enstring

Note in English.

order_datestringrequired

Order date (Y-m-d).

organizationstring

Organization UUID. The user's default organization when omitted on create.

planned_receive_datestring

Planned receive date (Y-m-d).

projectstring

Project UUID.

remind_beforeinteger

Remind this many days before the confirmed pick-up date.

responsiblestring[]required

Responsible staff UUIDs. On update the list replaces the current one.

statusstringrequired

Order status: picklist orders / order_statuses value UUID (GET /api/v4/picklists?filter[module]=orders). A change runs what the CRM runs on it: tasks from the status templates and, where enabled, the accounting export.

supplierstringrequired

Supplier (client) UUID.

warehousestringrequired

Warehouse UUID (or codename).

Response

application/json

Success

recordobject

Fields enabled for this documentation instance (projection enabled: feature, option, subdomain, closures) plus account-level form field visibility. Role- and user-level field overrides are not applied here, so an API key whose staff user has such overrides may receive fewer fields. A disabled field is omitted from the response object entirely; a present key with a null value means the record simply has no value.