Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Stock /SearchVariationGroups

Allows 150 calls per minute

Response: GenericPagedResult<VariationGroup>



Use this call to search for a variation group

Parameters

NameTypeDescription
searchTypeVariationSearchTypeThe search method to use
searchTextStringThe search term (either in part of full)
pageNumberInt32The page number (e.g. 1).
entriesPerPageInt32The number of entries to return per page.

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Stock/SearchVariationGroups

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.

searchType=0&searchText=sample string 1&pageNumber=1&entriesPerPage=1

Response

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

{
  "PageNumber": 1,
  "EntriesPerPage": 2,
  "TotalEntries": 3,
  "TotalPages": 2,
  "Data": [
    {
      "VariationSKU": "sample string 1",
      "pkVariationItemId": "ae135d8c-d602-4397-810d-e40ae0d1f0f7",
      "VariationGroupName": "sample string 3"
    }
  ]
}