Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Stock /GetVariationGroupByParentId

Allows 150 calls per minute

Response: VariationGroup



Use this call to search for a variation group by the parent SKU's stock item id

Parameters

NameTypeDescription
pkStockItemIdGuidThe stock item id to search by

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

pkStockItemId=c2d2d58e-beda-45a9-98bd-9f4b78f68e85

Response

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

{
  "VariationSKU": "sample string 1",
  "pkVariationItemId": "e487c196-3907-46b3-afe1-1d00f27e8b26",
  "VariationGroupName": "sample string 3"
}