Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

GenericListings /CreateTemplates

Allows 150 calls per minute

Response: CreateTemplatesResponse



Use this call to create a generic template based on the inventory item details and the configurator details. This template will contain the full details of the item that will be listed on the channel.

Parameters

NameTypeDescription
requestCreateTemplatesRequest

Permissions

GlobalPermissions.Settings.ListingConfigurators.GetListingConfiguratorsNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/GenericListings/CreateTemplates

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": "57f5e48d-aca8-4fc4-9427-99049672a0e5",
    "InventoryItemIds": [
      "ff7f3432-9fb0-4f8e-89f3-23d024f96c36"
    ],
    "ChannelId": 2
  },
  "PaginationParameters": {
    "PageNumber": 1,
    "EntriesPerPage": 2
  },
  "ConfiguratorId": 2
}

Response

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

{
  "TemplatesInfo": null,
  "AllCreatedIds": [
    1
  ]
}