Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /AddSupplier

Allows 150 calls per minute

Response: Supplier



Use this call to create a new supplier

Parameters

NameTypeDescription
supplierSupplierDetails of supplier to be added. Set pkSupplierId to a new uniqueidentifier

Permissions

GlobalPermissions.Inventory.InventorySettings.SuppliersNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Inventory/AddSupplier

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.

supplier={
  "pkSupplierID": "5e535174-9f67-4e17-a22d-935a0cd941e0",
  "SupplierName": "sample string 2",
  "ContactName": "sample string 3",
  "Address": "sample string 4",
  "AlternativeAddress": "sample string 5",
  "City": "sample string 6",
  "Region": "sample string 7",
  "Country": "sample string 8",
  "PostCode": "sample string 9",
  "TelephoneNumber": "sample string 10",
  "SecondaryTelNumber": "sample string 11",
  "FaxNumber": "sample string 12",
  "Email": "sample string 13",
  "WebPage": "sample string 14",
  "Currency": "sample string 15"
}

Response

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

{
  "pkSupplierID": "0d0d9ea5-e44b-4162-bbac-94bea5c6ba8d",
  "SupplierName": "sample string 2",
  "ContactName": "sample string 3",
  "Address": "sample string 4",
  "AlternativeAddress": "sample string 5",
  "City": "sample string 6",
  "Region": "sample string 7",
  "Country": "sample string 8",
  "PostCode": "sample string 9",
  "TelephoneNumber": "sample string 10",
  "SecondaryTelNumber": "sample string 11",
  "FaxNumber": "sample string 12",
  "Email": "sample string 13",
  "WebPage": "sample string 14",
  "Currency": "sample string 15"
}