Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

PurchaseOrder /Create_PurchaseOrder_Initial

Allows 150 calls per minute

Response: Guid



Creates initial purchase order in pending status. Once PO is created you can add stock items to it.

Parameters

NameTypeDescription
createParametersCreate_PurchaseOrder_InitialParameterpkPurchaseId

Permissions

GlobalPermissions.Inventory.PurchaseOrder.EditPurchaseOrderNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/PurchaseOrder/Create_PurchaseOrder_Initial

Headers

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

Request Body

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
}

Response

This is an example of the response JSON. Results will vary depending on your data.

"be06a5f8-fd34-4e4c-aaa1-2d17213d5a69"