Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

ImportExport /EnableImport

Allows 150 calls per minute

Response: ImportRegister



Enable/disable a specific import

Parameters

NameTypeDescription
importIdInt32Import id to enable/disable
enableBooleanBoolean value to indicate the state

Permissions

GlobalPermissions.Settings.ImportExport.ImportNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/ImportExport/EnableImport

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.

importId=1&enable=true

Response

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

{
  "LastFileChecksum": "sample string 1",
  "ImportStatus": "sample string 2",
  "ImportSkipped": true,
  "Id": 4,
  "Type": 0,
  "FriendlyName": "sample string 5",
  "Executing": true,
  "justOnce": true,
  "Started": "2021-07-29T09:24:14.5527579Z",
  "Completed": "2021-07-29T09:24:14.5527579Z",
  "IsQueued": true,
  "Enabled": true,
  "IsNew": false
}