Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Stock /CreateVariationGroup

Allows 150 calls per minute

Response: VariationGroup



Use this call to create a variation group

Parameters

NameTypeDescription
templateVariationGroupTemplateVariation parent inforamtion

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Stock/CreateVariationGroup

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.

template={
  "VariationGroupName": "sample string 1",
  "ParentSKU": "sample string 2",
  "ParentStockItemId": "905b8ca1-faa2-4a67-97fb-f17a098034a1",
  "VariationItemIds": [
    "816e4570-b6c0-4f3f-ab55-f552d04b56b6"
  ]
}

Response

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

{
  "VariationSKU": "sample string 1",
  "pkVariationItemId": "381db9e1-0826-4d4c-af2d-4f41294aa7fb",
  "VariationGroupName": "sample string 3"
}