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.
Name | Type | Description |
---|---|---|
parameters | ProcessTemplatesParameters | Object of TemplatesParameters |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Listings/CreateEbayTemplates
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.
parameters={
"Source": "sample string 1",
"SubSource": "sample string 2",
"ConfigId": "c1951b0f-b0bd-45d9-9c97-d932ea74bc51",
"InventoryItemIds": [
"e63efdaf-ce16-4383-946c-cf8e961fbe38"
],
"SelectedRegions": [
{
"Item1": 1,
"Item2": 2
}
],
"Token": "f8b64238-c322-4ba8-969b-a28e0837f1e3",
"TemplatesType": 0
}
This is an example of the response JSON. Results will vary depending on your data.
{
"Items": [
{
"IsCreatedWithMappingTool": true,
"TemplateId": "9536e26a-8fb2-4cf9-8a89-a692bc5f5030",
"InventoryItemId": "2889b35e-59b1-451a-873e-a5802ed9f7df",
"VariationGroupName": "sample string 4",
"ConfigId": "21337057-5cda-416d-8779-732e26cf1109",
"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": "9bc0be0f-c8c7-477b-90ca-2eba1fe8874d",
"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": "2023-01-10T13:49:54.8614936+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
}