Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /AddExtendedProperties

Allows 150 calls per minute

Response: AddExtendedPropertiesResponse



Adds extended properties to a Linnworks orders.
This will NOT update properties that match on property name / value

Parameters

NameTypeDescription
requestAddExtendedPropertiesRequestRequest with OrderId and BasicExtendedProperties as fields

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

request={
  "OrderId": "390e7d37-319d-4b70-af32-5df7bd902576",
  "ExtendedProperties": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "Type": "sample string 3"
    }
  ]
}

Response

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

{
  "ExtendedPropertiesInserted": 1,
  "Errors": [
    "sample string 1"
  ]
}