Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Listings /ProcessAmazonListings

Allows 150 calls per minute

Response: Void



Use this call to create templates in Linnworks and can also be used to push the template to a channel. This will create the template even if it returns null. This will also push the template to the channel depending on what the status is set as.
Amazon Listing Statuses:
NOT_LISTED,
OK,
CREATING(push to channel),
UPDATING,
UPDATING_PRICE,
UPDATING_QUANTITY,
UPDATING_IMAGES,
CREATING_VARIATION,
DELETING,
SEARCHING_FOR_MATCHES,
UPDATING_SHIPPING

Parameters

NameTypeDescription
itemsList<AmazonListing>Amazon listings

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

items=[
  {
    "TemplateId": "92a72b85-a89d-431f-94f8-ce110ed3c785",
    "InventoryItemId": "3566920d-9188-4b89-af3d-e9f68d774130",
    "VariationGroupName": "sample string 3",
    "Version": 4,
    "MerchantName": "sample string 5",
    "ConfigId": "0499dad8-f8c6-495b-930e-36a6a81a7f6d",
    "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": "cf77fa71-a083-4b31-8ff5-bc624d832133",
      "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": [
      {
        "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
      }
    ],
    "UseMainItemImages": true,
    "VariationTheme": "sample string 21",
    "Variations": [
      {
        "IsIgnored": true,
        "IgnoredMsg": "sample string 2",
        "CollisionNumber": 3,
        "StockItemId": "94ada900-4611-4ed0-abb8-49197b884e33",
        "SKU": "sample string 5",
        "Title": "sample string 6",
        "Barcode": "sample string 7",
        "Price": 8.1,
        "BusinessPrice": {
          "Key": "cf77fa71-a083-4b31-8ff5-bc624d832133",
          "Value": 2.1
        },
        "Quantity": 1,
        "Pictures": [
          {
            "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
          }
        ],
        "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
          }
        ],
        "MessageIds": [
          "sample string 1"
        ]
      }
    ],
    "OldVariations": [
      {
        "IsIgnored": true,
        "IgnoredMsg": "sample string 2",
        "CollisionNumber": 3,
        "StockItemId": "94ada900-4611-4ed0-abb8-49197b884e33",
        "SKU": "sample string 5",
        "Title": "sample string 6",
        "Barcode": "sample string 7",
        "Price": 8.1,
        "BusinessPrice": {
          "Key": "cf77fa71-a083-4b31-8ff5-bc624d832133",
          "Value": 2.1
        },
        "Quantity": 1,
        "Pictures": [
          {
            "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
          }
        ],
        "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
          }
        ],
        "MessageIds": [
          "sample string 1"
        ]
      }
    ],
    "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
  }
]

Response

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