Use this call to search for a variation group by the parent SKU's stock item id
Name | Type | Description |
---|---|---|
pkStockItemId | Guid | The stock item id to search by |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Stock/GetVariationGroupByParentId
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.
pkStockItemId=8e94c57e-6e65-4124-8ef3-a99397773296
This is an example of the response JSON. Results will vary depending on your data.
{
"VariationSKU": "sample string 1",
"pkVariationItemId": "53a46f8e-3081-401b-a88a-d366bd733e28",
"VariationGroupName": "sample string 3"
}