Use this call to add a new item to a variation group
Name | Type | Description |
---|---|---|
pkVariationItemId | Guid | The variation group id |
pkStockItemIds | List<Guid> | The list of item ids to add |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Stock/AddVariationItems
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.
pkVariationItemId=3b2b08be-8152-4978-a15f-fa1b5d44d24c&pkStockItemIds=[
"f4c2b643-2e5c-4f2e-ad63-932ca13064b0"
]
This is an example of the response JSON. Results will vary depending on your data.
[
{
"pkRowId": "f795895f-db6c-4bc6-b162-2772cde2684a",
"pkStockItemId": "cc018bea-fa55-4c5d-964e-d7e7a56f7c45",
"ItemNumber": "sample string 3",
"ItemTitle": "sample string 4"
}
]