Integration
Get Integrations configuration
GET
https://api.cottoncast.com/integrations/config
This endpoint provides you with all necessary data to write a custom plugin. It mainly provided information about product attributes. It provides for example more information about product attributes that we use such as categories, agegroups, sizes and colors.
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Basic Authentication is required. |
{
"status": "ok",
"response": {
"endpoints": [
{
"code": "order",
"url": "https://api-dev001.cottoncast.com/order/",
"method": "POST"
}
],
"webhooks": [
{
"code": "orderstatus",
"url": "https://nerdbynature.nl/cottoncast/orderstatus",
"method": "POST"
},
{
"code": "product",
"url": "https://nerdbynature.nl/cottoncast/product",
"method": "POST"
}
],
"attributes": [
{
"code": "category",
"type": "category",
"name": "Category",
"short_name": "Category",
"values": [
{
"code": "T",
"label": "T-Shirt",
"sort_order": 1
},
{
"code": "H",
"label": "Hoodie"
},
{
"code": "S",
"label": "Sweater"
},
{
"code": "P",
"label": "Polo"
},
{
"code": "B",
"label": "Body"
}
]
},
{
"code": "gender",
"type": "agegroup",
"name": "Agegroup",
"short_name": "Age/Gender",
"values": [
{
"code": "M",
"label": "Men"
},
{
"code": "W",
"label": "Women"
},
{
"code": "B",
"label": "Boys"
},
{
"code": "G",
"label": "Girls"
},
{
"code": "BB",
"label": "Baby Boys"
},
{
"code": "BG",
"label": "Baby Girls"
}
]
},
{
"code": "russellcolor",
"type": "color",
"name": "Russell Color",
"short_name": "Color",
"values": [
{
"code": "30",
"label": "Weiß",
"sort_order": 1
},
{
"code": "36",
"label": "Schwarz",
"sort_order": 2
},
{
"code": "CG",
"label": "Grau",
"sort_order": 3
},
{
"code": "CD",
"label": "Pink"
},
{
"code": "57",
"label": "Fuchsia"
},
{
"code": "41",
"label": "Burgundy"
},
{
"code": "CR",
"label": "Classic Red"
},
{
"code": "BR",
"label": "Bright Red"
},
{
"code": "44",
"label": "Orange"
},
{
"code": "K2",
"label": "Yellow"
},
{
"code": "LM",
"label": "Lime"
},
{
"code": "38",
"label": "Bottle Green"
},
{
"code": "AL",
"label": "Apple"
},
{
"code": "65",
"label": "Turquoise"
},
{
"code": "SC",
"label": "Sky"
},
{
"code": "BH",
"label": "Bright Royal"
},
{
"code": "FN",
"label": "French Navy"
},
{
"code": "LX",
"label": "Light Oxford"
}
]
},
{
"code": "size",
"type": "size",
"name": "Clothing size",
"short_name": "Size",
"values": [
{
"code": "S",
"label": "S"
},
{
"code": "M",
"label": "M"
},
{
"code": "L",
"label": "L"
},
{
"code": "XL",
"label": "XL"
},
{
"code": "2XL",
"label": "2XL"
},
{
"code": "3XL",
"label": "3XL"
},
{
"code": "4XL",
"label": "4XL"
}
]
},
{
"code": "bccolor",
"type": "color",
"name": "B&C Color",
"short_name": "Color",
"values": [
{
"code": "WHI",
"label": "Weiß",
"sort_order": 1
},
{
"code": "BLA",
"label": "Schwarz",
"sort_order": 2
},
{
"code": "LGR",
"label": "Grau",
"sort_order": 3
},
{
"code": "ATO",
"label": "Hellblau"
},
{
"code": "DGR",
"label": "Dunkelgrau",
"sort_order": 4
},
{
"code": "FUC",
"label": "Fuchsia"
},
{
"code": "GOL",
"label": "Goldgelb"
},
{
"code": "KHA",
"label": "Dunkelgrün"
},
{
"code": "MKH",
"label": "Dunkelgrün"
},
{
"code": "MPI",
"label": "Millennial rosa"
},
{
"code": "NAV",
"label": "Navy blau"
},
{
"code": "ORA",
"label": "Orange"
},
{
"code": "RGR",
"label": "Hellgrün"
},
{
"code": "RED",
"label": "Rot"
},
{
"code": "RBL",
"label": "Royal Blau"
},
{
"code": "SGR",
"label": "Sport Grau"
},
{
"code": "UOR",
"label": "Urban Orange"
},
{
"code": "UPU",
"label": "Urban Lila"
}
]
},
{
"code": "wilkacolor",
"type": "color",
"name": "Wilka Color",
"short_name": "Kleur",
"values": [
{
"code": "WHI",
"label": "Weiß",
"sort_order": 1
},
{
"code": "BLA",
"label": "Schwarz",
"sort_order": 2
},
{
"code": "ORO",
"label": "Rosa"
},
{
"code": "BRO",
"label": "Baby Rosa"
},
{
"code": "FUC",
"label": "Fuchsia"
},
{
"code": "OGE",
"label": "Ocker Gelb"
},
{
"code": "OGR",
"label": "Altes grün"
},
{
"code": "ARM",
"label": "Army"
},
{
"code": "LIM",
"label": "Lime"
},
{
"code": "ORA",
"label": "Orange"
},
{
"code": "RED",
"label": "Rot"
},
{
"code": "BBL",
"label": "Baby Blau"
},
{
"code": "KOB",
"label": "Kobalt Blau"
},
{
"code": "AQU",
"label": "Wasser Blau"
},
{
"code": "NAV",
"label": "Navy blau"
}
]
},
{
"code": "sizeBabyDouble",
"type": "size",
"name": "Clothing size baby's",
"short_name": "Size",
"values": [
{
"code": "50",
"label": "50/56"
},
{
"code": "62",
"label": "62/68"
},
{
"code": "74",
"label": "74/80"
},
{
"code": "86",
"label": "86/92"
}
]
},
{
"code": "sleevetype",
"type": "general",
"name": "Sleeve Type",
"short_name": "Sleeve",
"values": [
{
"code": "S",
"label": "Kurzarm",
"sort_order": 1
},
{
"code": "S",
"label": "3/4 Arm",
"sort_order": 3
},
{
"code": "L",
"label": "Langarm",
"sort_order": 2
},
{
"code": "W",
"label": "Ohne Arm",
"sort_order": 4
}
]
},
{
"code": "fittype",
"type": "general",
"name": "Fit Type",
"short_name": "Fit",
"values": [
{
"code": "L",
"label": "Loose fit",
"sort_order": 1
},
{
"code": "R",
"label": "Regular Fit",
"sort_order": 2
},
{
"code": "S",
"label": "Slim Fit",
"sort_order": 3
}
]
}
]
}
}
Last updated