API

put
Shop bei der 8select.CSE registrieren

https://sc.8select.io/shops/:apiId/:feedId
Stellt eine Verbindung zwischen Shop und 8select.CSE her.
Request
Response
Request
Path Parameters
apiId
required
string
API ID aus MCON
feedId
required
string
Feed ID aus MCON
Headers
Content-Type
optional
string
application/json
8select-com-fid
required
string
Feed ID aus MCON
8select-com-tid
required
string
API ID aus MCON
Body Parameters
api
required
object
API Endpunkte für Produktdaten
api.attributes
required
string
URL zum Abrufen aller Produktattribute (ohne Werte)
api.products
required
string
URL zum Abrufen der Produktdaten
api.variantDimensions
required
string
URL zum Abrufen aller Produktattribute die zur Variantenbildung genutzt werden
plugin
required
object
Informationen zum Plugin
plugin.version
required
string
Version des Plugins
shop
required
object
Informationen zum Shop
shop.software
required
string
Eingesetzte Shopsoftware
shop.url
required
string
URL des Shops
shop.version
required
string
Version der eingesetzten Shopsoftware
Response
200: OK
Verbindung hergestellt
{
"api": {
"attributes": "https://shopware.demo.8select.io/cse-api/attributes",
"products": "https://shopware.demo.8select.io/cse-api/products",
"variantDimensions": "https://shopware.demo.8select.io/cse-api/variant-dimensions"
},
"plugin": {
"version": "3.0.0"
},
"shop": {
"software": "Shopware",
"url": "https://shopware.demo.8select.io",
"version": "5.5.3"
}
}

Beispiel

API Request - cURL
response.json
API Request - cURL
curl -X PUT 'https://sc.8select.io/shops/b796a03e-7117-4d12-b40f-e4b06c0ee2dd/497d4510-29c4-4160-adac-42ebb32a09c0' \
-H 'Content-Type: application/json; charset=utf-8' \
-H '8select-com-fid: 497d4510-29c4-4160-adac-42ebb32a09c0' \
-H '8select-com-tid: b796a03e-7117-4d12-b40f-e4b06c0ee2dd' \
-d '{"api":{"attributes":"https://shopware.demo.8select.io/cse-api/attributes","products":"https://shopware.demo.8select.io/cse-api/products","variantDimensions":"https://shopware.demo.8select.io/cse-api/variant-dimensions"},"plugin":{"version":"3.0.0"},"shop":{"software":"Shopware","url":"https://shopware.demo.8select.io","version":"5.5.3"}}'
response.json
{
"api": {
"attributes": "https://shopware.demo.8select.io/cse-api/attributes",
"products": "https://shopware.demo.8select.io/cse-api/products",
"variantDimensions": "https://shopware.demo.8select.io/cse-api/variant-dimensions"
},
"plugin": {
"version": "3.0.0"
},
"shop": {
"software": "Shopware",
"url": "https://shopware.demo.8select.io",
"version": "5.5.3"
}
}ja