Search

Search

Methods

Inventory

Orders

Linnworks.net API

The Linnworks.net API is a granular API that lets you access a Linnworks Users system at a very low level. Some of the key concepts are explained below, whereas the API method navigation is on the left.

Authorization

A method with a lock is a method that requires an active, logged in session.

Accessing a users account requires a Authorization token. This token is a Guid and must be passed in the Authorization header like below:

GET /api/Inventory/GetStockLocations HTTP/1.1
Host: eu-ext.linnworks.net
Content-Type: application/json
Authorization: INSERT_YOUR_TOKEN_HERE

Servers

When you have authorized an account, you will be given a session token and a session server. You must use these details to access the account from then onwards.

eg. If you are returned the server https://eu-ext.linnworks.net, when calling the CheckDropboxFile method you should use https://eu-ext.linnworks.net/api/ImportExport/CheckDropboxFile