Hello, just an update, following is the status of the V3 Sales Order Endpoint on Inventory (Supplier Details).
It is set up right now that the supplier data is set to the line if/when the "purchase order source" is specified in the payload, as the supplier is used when creating PO for the order line. So, In order POST SalesOrder V3 to be able to fetch the Supplier data of the selected item,
"purchaseOrderSource": "string" should be specified in the payload.
https://salesorder.visma.net/swagger/index.html
Example:
{
"type": "SO",
"date": "2023-08-18",
"description": "Test Sales Order",
"customer": {
"id": "10022"
},
"orderLines": [
{
"inventoryId": "1",
"description": "Test Sales OrderLine 1",
"quantity": 5,
"unitPrice": 10,
"taxCategoryId": "3",
"unitOfMeasure": "STK",
"purchaseOrderSource": "purchaseToOrder",
"subaccount": {
"1": "00",
"2": "01",
"3": "03",
"4": "04"
}
}
]
}
... View more