Creates initial purchase order in pending status. Once PO is created you can add stock items to it.
Name | Type | Description |
---|---|---|
createParameters | Create_PurchaseOrder_InitialParameter | pkPurchaseId |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/PurchaseOrder/Create_PurchaseOrder_Initial
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
createParameters={
"fkSupplierId": "a6d2bbf9-3bf6-446a-a184-7e1f7d5b6747",
"fkLocationId": "9cec61aa-101f-4300-bef1-21871503007a",
"ExternalInvoiceNumber": "sample string 3",
"Currency": "sample string 4",
"SupplierReferenceNumber": "sample string 5",
"UnitAmountTaxIncludedType": 6,
"DateOfPurchase": "2022-03-09T13:04:02.3322547Z",
"QuotedDeliveryDate": "2022-03-09T13:04:02.3322547Z",
"PostagePaid": 3.0,
"ShippingTaxRate": 4.0,
"ConversionRate": 5.0
}
This is an example of the response JSON. Results will vary depending on your data.
"be06a5f8-fd34-4e4c-aaa1-2d17213d5a69"