Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Listings /GetAmazonTemplates

Allows 250 calls per minute

Response: PagedResult<AmazonListing>



Use this call to return all created Amazon templates.

Parameters

NameTypeDescription
parametersGetTemplatesParametersObject of TemplatesParameters

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Listings/GetAmazonTemplates

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={
  "TemplateIds": [
    "c874fd01-86d9-4d28-a896-1091f9f4ab0e"
  ],
  "OnlyWithErrors": true,
  "Source": "sample string 2",
  "SubSource": "sample string 3",
  "ConfigId": "90161bf6-ff87-46d2-83de-f667a0d21741",
  "InventoryItemIds": [
    "da39ce81-8efa-456a-901c-f38d8d80d81e"
  ],
  "SelectedRegions": [
    {
      "Item1": 1,
      "Item2": 2
    }
  ],
  "Token": "b4c3cbbf-8163-4872-9153-7b71a8a4a3b2",
  "TemplatesType": 0,
  "PageNumber": 1,
  "EntriesPerPage": 2,
  "SiteFilter": {
    "Source": "sample string 1",
    "SubSource": "sample string 2",
    "Sites": "sample string 3",
    "SelectedSites": [
      "sample string 3"
    ]
  }
}

Response

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

{
  "Items": [
    {
      "TemplateId": "b85644c2-01de-4395-9625-34f61efbbd00",
      "InventoryItemId": "fee9abdd-3511-4573-9d75-238298b5b967",
      "VariationGroupName": "sample string 3",
      "Version": 4,
      "MerchantName": "sample string 5",
      "ConfigId": "03a1ff5a-60ee-4ab7-91e2-e501e16c031d",
      "ConfigName": "sample string 7",
      "ProductURL": "sample string 8",
      "ImageURL": "sample string 9",
      "Title": "sample string 10",
      "Description": "sample string 11",
      "ASIN": "sample string 12",
      "SKU": "sample string 13",
      "Barcode": "sample string 14",
      "BarcodeType": "sample string 15",
      "TitleSource": "sample string 16",
      "Price": 17.1,
      "BusinessPrice": {
        "Key": "389e1bb8-5f4e-4e19-b699-6ce8b8c098b9",
        "Value": 2.1
      },
      "Quantity": 1,
      "Category": "sample string 18",
      "SubType": "sample string 19",
      "BrowseNodes": [
        {
          "NodeId": "sample string 1",
          "NodePath": "sample string 2",
          "ItemType": "sample string 3",
          "DepartmentName": "sample string 4",
          "IsDefault": true
        }
      ],
      "Attributes": [
        {
          "AttrName": "sample string 1",
          "DisplayName": "sample string 2",
          "LinnworksProperty": "sample string 3",
          "ListingProperty": "sample string 4",
          "DefaultValue": "sample string 5",
          "Required": 0,
          "Type": 0,
          "RealType": "sample string 6",
          "ValidValues": [
            {
              "Key": "sample string 1",
              "Value": "sample string 2"
            }
          ],
          "Path": "sample string 7",
          "IsVariation": true,
          "IsInvalidValue": true,
          "ErrorMessage": "sample string 10",
          "CanBeVariation": true
        }
      ],
      "Pictures": [
        {
        }
      ],
      "UseMainItemImages": true,
      "VariationTheme": "sample string 21",
      "Variations": [
        {
          "IsIgnored": true,
          "IgnoredMsg": "sample string 2",
          "CollisionNumber": 3,
          "StockItemId": "337f89f0-44f2-4af8-872b-b114d48d3f0d",
          "SKU": "sample string 5",
          "Title": "sample string 6",
          "Barcode": "sample string 7",
          "Price": 8.1,
          "BusinessPrice": {
          },
          "Quantity": 1,
          "Pictures": [
            {
            }
          ],
          "Attributes": [
            {
            }
          ],
          "MessageIds": [
            "sample string 1"
          ]
        }
      ],
      "OldVariations": [
        {
        }
      ],
      "Status": 0,
      "IsReadOnly": true,
      "ReportId": "sample string 23",
      "ErrorMsg": "sample string 24",
      "MessageIds": [
        "sample string 1"
      ],
      "ShipOptions": [
        "sample string 1"
      ],
      "IsCatalog": true,
      "ConditionType": "sample string 26",
      "ConditionNote": "sample string 27",
      "LowestNewPriceFormated": "sample string 28",
      "DecimalSalesRank": 1.0,
      "ToList": true,
      "Matches": 30,
      "NoMatches": true,
      "Adjustments": 64,
      "IsReFeeded": true
    }
  ],
  "TotalItems": 1,
  "CurrentPage": 2,
  "EntriesPerPage": 3
}