When the Warehouse module is activated new fields are available through the API for the following resources:
Article
Order
Invoice
Resource | Name | Description |
---|---|---|
Order/Invoice | warehouseready | Used for marking a document as ready in the warehouse module. DeliveryState needs to be set to “delivery”. |
Respurce | Name | Description | Type | Restrictions | R/W |
---|---|---|---|---|---|
Order | DeliveryState | Changes the document state. "registration", "reservation" or "delivery" | Enum | REGISTRATION: When the document is in this state no items will be reserved or delivered. RESERVATION: When the document is in this state items will be reserved when possible. DELIVERY: When the document is in this state items will be delivered when possible. | R/W |
Order/Invoice | WarehouseReady | Used to see if the document has been marked as ready in warehouse. | Boolean | - | R |
Order/Invoice | OutboundDate | The date that the document was marked as ready in warehouse. | Date | - | R/W |
Order | ReservedQuantity | Number of items that was successfully reserved. | Number | - | R |
Order/Invoice | DeliveredQuantity | Number of items that are to be delivered or has been delivered. | Number | Can only be modified when the document is in the delivery state. (Invoices are always in the delivery state) | R/W |
Order/Invoice | StockPointCode | The stock point that the items are to taken from or has been taken from. | String | Mandatory if stock points has been activated in the warehouse settings. | R/W |
Article | StockAccount | Stock account that is used during booking of any warehouse changes for this article. | Number | - | R/W |
Article | StockChangeAccount | Stock change account that is used during booking of any warehouse changes for this article. | Number | - | R/W |
Article | CostCalculationMethod | Determines how the purchase price for this article is updated. | Enum | MANUAL will only change the purchase price from manually updating the article. LAST_RELEASED_INBOUND : The value will automatically be updated when an inbound delivery is made. | R/W |
Article | DirectCost | Direct cost used for automatically suggesting a purchase price when registering with this article. | Number | Can only be updated if the CostCalculationMethod is set to Manual. | R/W |
Article | FreightCost | Freight cost used for automatically suggesting a purchase price when registering with this article. | Number | Can only be updated if the CostCalculationMethod is set to Manual. | R/W |
Article | OtherCost | Other costs used for automatically suggesting a purchase price when registering with this article. | Number | Can only be updated if the CostCalculationMethod is set to Manual. | R/W |
Article | PurchasePrice | This field already exists in the Article resource but has had changed restrictions. | Number | Can only be updated if the CostCalculationMethod is set to Manual. | R/W |
See our comprehensive documentation regarding the Fortnox API.
Approximately half a million customers are waiting for your integration at our Integrations page.