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.
Name | Type | Description |
---|---|---|
items | List<EbayListing> | eBay listings |
force | Boolean | force |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Listings/ProcesseBayListings
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
This is an example of the request structure. Results will vary depending on your data.
items=[
{
"IsCreatedWithMappingTool": true,
"TemplateId": "37f022f2-ba89-467a-a467-90288b95f01b",
"InventoryItemId": "26fd64a3-445c-408c-be49-b357c4cdc552",
"VariationGroupName": "sample string 4",
"ConfigId": "fe684269-2839-47c7-857a-48bf8ffd7ff8",
"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": [
{
"IsDefault": true,
"LotSizeDisabled": true,
"IsProductRequired": true,
"VariationsEnabled": true,
"SiteSupported": true,
"CategoryId": "sample string 3",
"CategoryName": "sample string 4"
}
],
"DontUseVariationPictures": true,
"VariationPictureSpecific": "sample string 18",
"Variations": [
{
"CollisionNumber": 1,
"IsLinked": true,
"StockItemId": "f1b0b680-2392-4059-8de7-eaa7e45749fc",
"Barcode": "sample string 4",
"MultipleIdentifiers": [
{
"Key": "sample string 1",
"Value": "sample string 2"
}
],
"Title": "sample string 5",
"SKU": "sample string 6",
"ePID": "sample string 7",
"IsCatalogMatch": 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"
]
}
],
"ErrorMesage": "sample string 8",
"Pictures": [
{
"URL": "sample string 1",
"IsEnabled": true
}
],
"Price": {
"StartPrice": 1.1,
"ReservePrice": 2.1,
"BINPrice": 3.1,
"AutoAccept": 4.1,
"AutoDecline": 5.1,
"OriginalRetailPrice": 6.1
},
"LotSize": 1
}
],
"VariationsPositions": [
{
"Key": "sample string 1",
"Values": [
"sample string 1"
]
}
],
"OldVariations": [
{
"CollisionNumber": 1,
"IsLinked": true,
"StockItemId": "f1b0b680-2392-4059-8de7-eaa7e45749fc",
"Barcode": "sample string 4",
"MultipleIdentifiers": [
{
"Key": "sample string 1",
"Value": "sample string 2"
}
],
"Title": "sample string 5",
"SKU": "sample string 6",
"ePID": "sample string 7",
"IsCatalogMatch": 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"
]
}
],
"ErrorMesage": "sample string 8",
"Pictures": [
{
"URL": "sample string 1",
"IsEnabled": true
}
],
"Price": {
"StartPrice": 1.1,
"ReservePrice": 2.1,
"BINPrice": 3.1,
"AutoAccept": 4.1,
"AutoDecline": 5.1,
"OriginalRetailPrice": 6.1
},
"LotSize": 1
}
],
"OldVariationSpecifics": [
{
"Key": "sample string 1",
"Values": [
"sample string 1"
]
}
],
"IsProductConfirmationRequired": true,
"Status": 0,
"ErrorMessage": "sample string 20",
"Adjustments": 64,
"TitleSource": "sample string 22",
"IsPendingRelist": true,
"StartTime": "2023-01-10T13:49:46.0692232+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"
}
]&force=true
This is an example of the response JSON. Results will vary depending on your data.