Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Listings /ProcessBigcommerceListings

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.

Parameters

NameTypeDescription
itemsList<BigCommerceListing>Bigcommerce templates
forceBooleanforce

Example Request

The following request format is required for this method.

Endpoint URL

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

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=[
  {
    "Adjustments": 64,
    "Width": 2.1,
    "Height": 3.1,
    "Depth": 4.1,
    "Attributes": [
      {
        "Name": "sample string 1",
        "Type": 0,
        "MaxLength": 2,
        "Label": "sample string 3",
        "Value": "sample string 4",
        "ExtendedProperty": "sample string 5",
        "Default": true
      }
    ],
    "VarAttributes": [
      {
        "Name": "sample string 1",
        "ExtendedProperty": "sample string 2",
        "Type": "sample string 3",
        "TypeLabel": "sample string 4"
      }
    ],
    "Children": [
      {
        "StockItemId": "448dabff-1cfe-4893-a059-489b42ea44a6",
        "ChildId": "48c326e9-c198-4cc5-8ee5-303328e8e6a6",
        "SkuId": 3,
        "SKU": "sample string 4",
        "UPC": "sample string 5",
        "Name": "sample string 6",
        "Price": 7.1,
        "ManageStock": true,
        "CollisionNumber": 9,
        "Status": 0,
        "Quantity": 10,
        "Weight": 11.1,
        "InStockChannel": true,
        "ProductImageURL": "sample string 13",
        "OptionsValues": [
          {
            "OptionId": 1,
            "ValueId": 2,
            "Name": "sample string 3",
            "Label": "sample string 4"
          }
        ]
      }
    ],
    "OldChildren": [
      {
        "StockItemId": "448dabff-1cfe-4893-a059-489b42ea44a6",
        "ChildId": "48c326e9-c198-4cc5-8ee5-303328e8e6a6",
        "SkuId": 3,
        "SKU": "sample string 4",
        "UPC": "sample string 5",
        "Name": "sample string 6",
        "Price": 7.1,
        "ManageStock": true,
        "CollisionNumber": 9,
        "Status": 0,
        "Quantity": 10,
        "Weight": 11.1,
        "InStockChannel": true,
        "ProductImageURL": "sample string 13",
        "OptionsValues": [
          {
            "OptionId": 1,
            "ValueId": 2,
            "Name": "sample string 3",
            "Label": "sample string 4"
          }
        ]
      }
    ],
    "OptionSet": {
      "Id": 1,
      "Name": "sample string 2",
      "MappedFromBC": true,
      "Options": [
        {
          "Id": 1,
          "IdV3": 2,
          "OptionName": "sample string 3",
          "OptionDisplayName": "sample string 4",
          "MappedFromBC": true,
          "AssignmentId": 6,
          "Values": [
            {
              "MappedFromBC": true,
              "Id": 1,
              "IdV3": 1,
              "SortOrder": 2,
              "Label": "sample string 3",
              "OptionValueData": {
                "ImageUrl": "sample string 1",
                "Color": "sample string 2"
              }
            }
          ],
          "Type": "sample string 7"
        }
      ]
    },
    "Images": [
      {
        "Id": 1,
        "Thumb": true,
        "sortOrder": 3,
        "IsChild": true,
        "ImageId": "a9fce323-1038-4ec0-a7ac-df885bf3d2d0",
        "URL": "sample string 6",
        "Label": "sample string 7",
        "Show": true,
        "IsNative": true
      }
    ],
    "Version": 5,
    "ListingId": "04945bf5-b51c-4eaa-9657-625ce3a5e3e1",
    "TemplateId": "ba5d53ff-bd33-4946-9631-b907f59ee447",
    "InventoryItemId": "9493a29d-f96f-4709-868d-43f8a9f2ade5",
    "ConfigId": "acb5a3ba-b9c5-4aa2-82f1-3ede1a4ffe62",
    "UsedConfigName": "sample string 10",
    "ProductId": 11,
    "UpdateConfig": true,
    "Type": 0,
    "ListingURL": "sample string 13",
    "Name": "sample string 14",
    "Description": "sample string 15",
    "ShortDescription": "sample string 16",
    "SKU": "sample string 17",
    "Barcode": "sample string 18",
    "TitleSource": "sample string 19",
    "Price": 20.1,
    "Weight": 21.1,
    "ShowListing": true,
    "ManageStock": true,
    "Quantity": 24,
    "IsReadOnly": true,
    "Categories": [
      {
        "Id": "sample string 1",
        "Name": "sample string 2",
        "Path": "sample string 3",
        "Default": true
      }
    ],
    "HasCollisions": true,
    "UseMainItemImages": true,
    "Status": 0,
    "Site": "sample string 28",
    "IsErrorMsg": true,
    "CustomFields": [
      {
        "Id": 1,
        "BigCommerceId": 2,
        "FlexSettingsItemId": "f790ee20-dba4-4648-b177-c78ff8af9a80",
        "Name": "sample string 4",
        "Value": "sample string 5"
      }
    ]
  }
]&force=true

Response

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