Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

GenericListings /OpenTemplatesByInventory

Allows 150 calls per minute

Response: OpenTemplatesByInventoryResponse



Use this call to get template details for Generic Listings using Stock Item IDs.

Parameters

NameTypeDescription
requestOpenTemplatesByInventoryRequest

Permissions

GlobalPermissions.Settings.ListingConfigurators.GetListingConfiguratorsNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/GenericListings/OpenTemplatesByInventory

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.

request={
  "ChannelType": 0,
  "ChannelName": "sample string 1",
  "Parameters": {
    "SelectedRegions": [
      {
        "Item1": 1,
        "Item2": 2
      }
    ],
    "Token": "3d7ad184-5e4d-42ae-95b7-55fa58bc6bbd",
    "InventoryItemIds": [
      "71980e8d-30df-4457-bcac-98c87a16f0b5"
    ],
    "ChannelId": 2
  },
  "PaginationParameters": {
    "PageNumber": 1,
    "EntriesPerPage": 2
  },
  "SelectOnlyWithErrors": true
}

Response

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

{
  "TotalEntries": 1,
  "TemplatesInfo": null
}