Use this call to search for a variation group
Name | Type | Description |
---|---|---|
searchType | VariationSearchType | The search method to use |
searchText | String | The search term (either in part of full) |
pageNumber | Int32 | The page number (e.g. 1). |
entriesPerPage | Int32 | The number of entries to return per page. |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Stock/SearchVariationGroups
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
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
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": "5a7b6b3a-09e8-4a81-8177-d529be67c633",
"VariationGroupName": "sample string 3"
}
]
}