Store catalogue
Connect API · https://api.conciar.com/connect/v1
The webshop side: channel settings, categories and products. Converted prices follow X-Currency (a currency symbol such as EUR; an unknown one is ignored) or else the channel currency; names follow Accept-Language, or else the channel language.
INFO
Die API-Referenz ist auf Englisch.
Get channel settings
The sales channel's settings, merged over the defaults: guest checkout, pricing mode (snapshot or live), coupon stacking, hide-out-of-stock, supported countries, enabled payment methods, subscription options and restaurant pickup settings. Keys are camelCase. Back-office settings (the maintenance IP allow-list, abandoned-cart timing, dynamic pricing, receipt printing, subscription fulfilment, capture policy) are not included.
curl "https://api.conciar.com/connect/v1/store/config" \
-H "Accept: application/json" \
-H "X-Api-Key: pk_your_publishable_key" \
-H "X-Sales-Channel: cnct_ch_your_channel_token"{
"config": {
"active": true,
"maintenanceMode": false,
"guestCheckout": true,
"cartPricing": "snapshot",
"couponsStackable": false,
"hideOutOfStock": false,
"supportedCountries": [],
"paymentMethodsMode": "organization",
"…": "…"
}
}List categories
Top-level categories with their direct children and how many products in this channel each holds.
curl "https://api.conciar.com/connect/v1/store/categories" \
-H "Accept: application/json" \
-H "X-Api-Key: pk_your_publishable_key" \
-H "X-Sales-Channel: cnct_ch_your_channel_token"{
"data": [
{
"id": 1,
"parent_id": null,
"slug": "coffee",
"name": "Coffee",
"description": null,
"product_count": 12,
"children": [
{
"id": 2,
"parent_id": 1,
"slug": "beans",
"name": "Beans",
"description": null,
"product_count": 8
}
]
}
]
}List products
Active products in this channel, paginated. Each product comes with its type, variants, stock, retail_price, tax breakdown and, when a currency is known, converted_retail_price. stock holds track_stock and available. Only storefront fields are returned: no cost prices and no other sales channels.
Query-Parameter
qstringSearch, max 100.
categoryintegerCategory id.
typestringComma-separated product types, e.g. physical,digital.
sortstringrecommended, price_asc, price_desc or newest.
per_pageinteger1–100, default 20.
pageintegerPage number.
featured, subscriptionbooleantrue: only featured (in this channel) / only subscription products; false: only the others.
price_min, price_maxnumberIn the request currency.
property[key]stringFilter on a product property; values come from /store/products/filters.
curl "https://api.conciar.com/connect/v1/store/products?q=coffee&per_page=20" \
-H "Accept: application/json" \
-H "X-Api-Key: pk_your_publishable_key" \
-H "X-Sales-Channel: cnct_ch_your_channel_token"{
"data": {
"current_page": 1,
"data": [
{
"id": 9001,
"sku": "EX-BEANS-1KG",
"type": {
"name": "physical"
},
"active": true,
"out_of_stock": false,
"featured": false,
"resolved_info": {
"name": "Example beans 1 kg",
"…": "…"
},
"retail_price": {
"amount": "24.95",
"…": "…"
},
"tax": {
"net": 22.89,
"tax_total": 2.06,
"gross": 24.95,
"…": "…"
},
"variants": [],
"…": "…"
}
],
"per_page": 20,
"total": 1,
"…": "…"
}
}List product filters
The property filters for the current product selection, with counts. Takes the same query parameters as the product list.
curl "https://api.conciar.com/connect/v1/store/products/filters" \
-H "Accept: application/json" \
-H "X-Api-Key: pk_your_publishable_key" \
-H "X-Sales-Channel: cnct_ch_your_channel_token"{
"filters": [
{
"key": "roast",
"label": "Roast",
"options": [
{
"value": "dark",
"count": 5
},
{
"value": "light",
"count": 3
}
]
}
]
}Get a product
One product with its translations, categories, price rules and variants (with their options).
Pfadparameter
idintegererforderlichProduct id.
Statuscodes
404Not found or inactive.
Gut zu wissen
- Any active product of the organization is returned; it is not checked against this sales channel.
curl "https://api.conciar.com/connect/v1/store/products/9001" \
-H "Accept: application/json" \
-H "X-Api-Key: pk_your_publishable_key" \
-H "X-Sales-Channel: cnct_ch_your_channel_token"{
"data": {
"id": 9001,
"sku": "EX-BEANS-1KG",
"resolved_info": {
"name": "Example beans 1 kg",
"…": "…"
},
"categories": [
"…"
],
"variants": [
"…"
],
"…": "…"
}
}