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=e73ce3b7-aba4-445a-886d-453809a55ec8&pkStockItemIds=[
"f2de9025-be85-4fa8-af03-d84b20e658cc"
]
This is an example of the response JSON. Results will vary depending on your data.
[
{
"pkRowId": "f22a4f93-a65c-484c-9abb-f442f52e0a57",
"pkStockItemId": "985f16e8-4987-41ca-8408-37e1394ca022",
"ItemNumber": "sample string 3",
"ItemTitle": "sample string 4"
}
]