Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ImportExport /EnableExport

Allows 150 calls per minute

Response: ExportRegister



Enable/disable a specific export

Parameters

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

Permissions

GlobalPermissions.Settings.ImportExport.ExportNode

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

exportId=1&enable=true

Response

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

{
  "LastQueryExecuted": "2023-01-10T13:49:55.6070675+00:00",
  "LastExportStatus": true,
  "Id": 2,
  "Type": "sample string 3",
  "FriendlyName": "sample string 4",
  "Executing": true,
  "justOnce": true,
  "Started": "2023-01-10T13:49:55.606067Z",
  "Completed": "2023-01-10T13:49:55.6070675Z",
  "IsQueued": true,
  "Enabled": true,
  "IsNew": false,
  "TimeZoneOffset": 9.1,
  "NextSchedule": null
}