Use this call to return all created Big Commerce templates.
Name | Type | Description |
---|---|---|
parameters | GetTemplatesParameters | Object of TemplatesParameters |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Listings/GetBigCommerceTemplates
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={
"TemplateIds": [
"260c18cb-d97c-4676-aa32-8ce4f1e3b5a0"
],
"OnlyWithErrors": true,
"Source": "sample string 2",
"SubSource": "sample string 3",
"ConfigId": "f8fe9e8d-74f5-46c4-8c1c-0f18ad643d12",
"InventoryItemIds": [
"404c727f-7eff-489e-a818-53bcfd4b34bc"
],
"SelectedRegions": [
{
"Item1": 1,
"Item2": 2
}
],
"Token": "5b5d086d-8a4e-4e88-a3a5-c172137ed5e9",
"TemplatesType": 0,
"PageNumber": 1,
"EntriesPerPage": 2,
"SiteFilter": {
"Source": "sample string 1",
"SubSource": "sample string 2",
"Sites": "sample string 3",
"SelectedSites": [
"sample string 3"
]
}
}
This is an example of the response JSON. 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": "b6c75ad8-db72-48ca-96c6-7c0e84c2d725",
"ChildId": "2b43087b-7018-4147-b501-659f403ffa6c",
"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": [
{
}
],
"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": "60605dd5-0d4f-48cb-8db9-3990f7cbd96e",
"URL": "sample string 6",
"Label": "sample string 7",
"Show": true,
"IsNative": true
}
],
"Version": 5,
"ListingId": "87add950-25cf-4443-878b-28e9c34ae38a",
"TemplateId": "97db99fe-3013-48d9-9782-0b8c5e555202",
"InventoryItemId": "a3462d8c-95e3-4e87-98a1-4536f5d950d6",
"ConfigId": "fe521f8d-bf37-47fa-bee8-693733d440e5",
"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": "a7e31bca-dee3-459d-88ae-f43af5cbfcae",
"Name": "sample string 4",
"Value": "sample string 5"
}
]
}
],
"TotalItems": 1,
"CurrentPage": 2,
"EntriesPerPage": 3
}