Use this call to get template details for Generic Listings using Stock Item IDs.
Name | Type | Description |
---|---|---|
request | OpenTemplatesByInventoryRequest |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/GenericListings/OpenTemplatesByInventory
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.
request={
"ChannelType": 0,
"ChannelName": "sample string 1",
"Parameters": {
"SelectedRegions": [
{
"Item1": 1,
"Item2": 2
}
],
"Token": "ad00adbc-2d27-41e9-bf9f-729068e25c4e",
"InventoryItemIds": [
"449b52c7-847b-49b0-ba61-ae1e0fe7e95e"
],
"ChannelId": 2
},
"PaginationParameters": {
"PageNumber": 1,
"EntriesPerPage": 2
},
"SelectOnlyWithErrors": true
}
This is an example of the response JSON. Results will vary depending on your data.
{
"TotalEntries": 1,
"TemplatesInfo": null
}