Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Listings /CreateEbayTemplates

Allows 150 calls per minute

Response: PagedResult<EbayListing>



Use this call to return a template based on the configurator setting you have requested. This allows you to see the template which can then be retuned to the ProcessEbayListing endpoint which will build the listing.

Parameters

NameTypeDescription
parametersProcessTemplatesParametersObject of TemplatesParameters

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/Listings/CreateEbayTemplates

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.

parameters={
  "Source": "sample string 1",
  "SubSource": "sample string 2",
  "ConfigId": "fd3e6073-726a-4e27-8522-e48a71a2f6f8",
  "InventoryItemIds": [
    "97229490-9bb7-426f-b909-7c1635cb057c"
  ],
  "SelectedRegions": [
    {
      "Item1": 1,
      "Item2": 2
    }
  ],
  "Token": "6e3aab35-ce6f-4a70-85d3-8687e086f77e",
  "TemplatesType": 0
}

Response

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

{
  "Items": [
    {
      "IsCreatedWithMappingTool": true,
      "TemplateId": "4294ed46-61a5-4b96-a207-4748a9ad3415",
      "InventoryItemId": "ac226742-88bf-43b7-a0d1-61de9cd85c07",
      "VariationGroupName": "sample string 4",
      "ConfigId": "4d73599d-e360-45ea-b188-e8b542ebe51c",
      "ConfigName": "sample string 6",
      "ListingIds": [
        "sample string 1"
      ],
      "SKU": "sample string 7",
      "AccountId": "sample string 8",
      "Barcode": "sample string 9",
      "BarcodeErrorMessage": "sample string 10",
      "MultipleIdentifiers": [
        {
          "Key": "sample string 1",
          "Value": "sample string 2"
        }
      ],
      "Price": {
        "StartPrice": 1.1,
        "ReservePrice": 2.1,
        "BINPrice": 3.1,
        "AutoAccept": 4.1,
        "AutoDecline": 5.1,
        "OriginalRetailPrice": 6.1
      },
      "AvailableQuantity": 11,
      "Title": "sample string 12",
      "SubTitle": "sample string 13",
      "Description": "sample string 14",
      "ePID": "sample string 15",
      "IsCatalogMatch": true,
      "IsProductRequired": true,
      "Attributes": [
        {
          "AttrName": "sample string 1",
          "Value": "sample string 2",
          "ErrorMessage": "sample string 3",
          "CurrentProductValue": "sample string 4",
          "IsUserDefined": true,
          "IsRequired": true,
          "ValidValues": [
            "sample string 1"
          ]
        }
      ],
      "Pictures": [
        {
          "URL": "sample string 1",
          "IsEnabled": true
        }
      ],
      "Categories": [
        {
          "IsDefault": true,
          "LotSizeDisabled": true,
          "IsProductRequired": true,
          "VariationsEnabled": true,
          "SiteSupported": true,
          "CategoryId": "sample string 3",
          "CategoryName": "sample string 4"
        }
      ],
      "StoreCategories": [
        {
        }
      ],
      "DontUseVariationPictures": true,
      "VariationPictureSpecific": "sample string 18",
      "Variations": [
        {
          "CollisionNumber": 1,
          "IsLinked": true,
          "StockItemId": "17594b2d-28d6-472c-bcc1-98c0adee8c9c",
          "Barcode": "sample string 4",
          "MultipleIdentifiers": [
            {
            }
          ],
          "Title": "sample string 5",
          "SKU": "sample string 6",
          "ePID": "sample string 7",
          "IsCatalogMatch": true,
          "Attributes": [
            {
            }
          ],
          "ErrorMesage": "sample string 8",
          "Pictures": [
            {
            }
          ],
          "Price": {
          },
          "LotSize": 1
        }
      ],
      "VariationsPositions": [
        {
          "Key": "sample string 1",
          "Values": [
            "sample string 1"
          ]
        }
      ],
      "OldVariations": [
        {
        }
      ],
      "OldVariationSpecifics": [
        {
        }
      ],
      "IsProductConfirmationRequired": true,
      "Status": 0,
      "ErrorMessage": "sample string 20",
      "Adjustments": 64,
      "TitleSource": "sample string 22",
      "IsPendingRelist": true,
      "StartTime": "2022-03-09T13:04:14.3697507+00:00",
      "IsReadOnly": true,
      "IsVirtualTemplate": true,
      "Site": "sample string 26",
      "Currency": "sample string 27",
      "UseSuggestedCategory": true,
      "AllowCategoryChange": true,
      "LotSize": 1,
      "IsRecommendation": true,
      "RecommendationMessage": "sample string 31"
    }
  ],
  "TotalItems": 1,
  "CurrentPage": 2,
  "EntriesPerPage": 3
}