Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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.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": "03b5e45c-4a05-4141-9121-84f79cb08031",
  "fkLocationId": "efde82b5-d026-43b2-8360-96833225544c",
  "ExternalInvoiceNumber": "sample string 3",
  "Currency": "sample string 4",
  "SupplierReferenceNumber": "sample string 5",
  "UnitAmountTaxIncludedType": 6,
  "DateOfPurchase": "2021-07-29T09:24:12.3205723Z",
  "QuotedDeliveryDate": "2021-07-29T09:24:12.3205723Z",
  "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.

"dd78be02-4da3-433e-b314-d354ca4312da"