Fortnox icon

Fortnox

Consume the Fortnox API

Actions110

Order → Update

AI-generated

Summary

Updates an existing Fortnox order identified by its document number.

Inputs

  • DocumentNumber (required) — The document number of the order to update.
  • OrderRows — Collection of order rows to replace existing rows. Each row includes ArticleNumber, Description, OrderedQuantity, DeliveredQuantity, AccountNumber, Price, Discount, DiscountType, Unit, VAT, CostCenter, Project.
  • updateFields — Collection of order‑level fields to modify. Available fields include addresses, city, country, currency, delivery details, dates, email, external references, language, references, phone numbers, remarks, tax reduction type, terms, VAT inclusion, way of delivery, order/your numbers, zip code, etc.

Output shape

Updated order object returned by the Fortnox API (fields depend on what the API returns for an order).

DocumentNumber is mandatory; all other inputs are optional. Supplying OrderRows replaces the entire set of rows for the order. Supplying updateFields updates only the specified order‑level properties, leaving others unchanged.

Examples

Example 1: Change delivery date and replace order lines

Set DocumentNumber to the target order, provide DeliveryDate in updateFields, and supply the new rows in OrderRows.

Links

Discussion