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.
Body
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.
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.
Response
Success
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.
More in Supplier Orders
PATCHUpdate /supplier_orders/{uuid}Still need help? Ask the team