Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

RulesEngine /GetOptions

Allows 150 calls per minute

Response: List<String>



Use this call to get a list of valid options for a given field (and, if relevant, key).

Parameters

NameTypeDescription
fieldNameStringThe field name.
typeRuleSetTypeThe rule type.
keyStringThe key (optional).

Permissions

GlobalPermissions.OrderBook.RulesEngineNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/RulesEngine/GetOptions

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.

fieldName=sample string 1&type=1&key=sample string 1

Response

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

[
  "sample string 1"
]