Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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": "2021-07-29T09:24:33.1065144+01:00",
  "LastExportStatus": true,
  "Id": 2,
  "Type": "sample string 3",
  "FriendlyName": "sample string 4",
  "Executing": true,
  "justOnce": true,
  "Started": "2021-07-29T09:24:33.1055147Z",
  "Completed": "2021-07-29T09:24:33.1055147Z",
  "IsQueued": true,
  "Enabled": true,
  "IsNew": false
}