Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Orders /RunRulesEngine

Allows 150 calls per minute

Response: List<Guid>



Run Rules Engine on Open Orders

Parameters

NameTypeDescription
orderIdsGuid[]List of order IDs to run rules on
ruleIdNullable<Int32>Id of Rule to run. Null if all rules should be run

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Orders/RunRulesEngine

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.

orderIds=[
  "d79eac80-b76e-4d89-a5c5-fb81879315f7"
]&ruleId=1

Response

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

[
  "d8cc68ad-978c-4b04-96e9-18424c5134d0"
]