Products: Endpoint
Products
Complete CRUD operations for product data.
Overview
| Operation | Method | Endpoint | Scope |
|---|---|---|---|
| Export All | GET | /xpanel/xoport/export/json/products | products:read |
| Single Product | GET | /xpanel/xoport/export/json/product/{ID} | products:read |
| ID Range | GET | /xpanel/xoport/export/json/products/{START}:{END} | products:read |
| Import | POST | /xpanel/xoport/import/json/products | products:write |
| Update | PUT | /xpanel/xoport/import/json/products | products:write |
| Delete | DELETE | /xpanel/xoport/delete/json/products/{ID} | products:delete |
Export (GET)
/product/{ID} (singular) for a single product.URL Patterns
| URL | Description |
|---|---|
/export/json/product/123 | Single product with ID 123; HTTP 404 NOT_FOUND if there is no match v2.122.10 |
/export/json/products | All products (paginated) |
/export/json/products/100:200 | Products with IDs 100 through 200 |
/export/json/products/100: | Products starting at ID 100 (open range, previously only product 100) v2.122.10 |
/export/json/product/123%20 | Leading or trailing whitespace in the ID does not count: product 123 v2.122.12 |
No valid path segment: /export/json/product/123x, /product/123.0, /product/1e3, /product//123, /products/productlist | HTTP 400 INVALID_RANGE, the message names the segment. Previously, the response was the product list or a reinterpreted product (1e3 = 1000) v2.122.12 |
Since v2.122.12, the segment after /product or /products is an integer or a range with integer boundaries; send the ID without decimal places and without a sign. All rules: Export API, section “Path segment”.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
limit | int | Max. number (Default: 50, Max: 250) |
offset | int | Start position for pagination |
bonus_free_features | 0/1 | With 1, each product includes the bonus_free_features block (bonus and free-item data) v2.122.10 |
bundles | 0/1 | With 1, each product carries the key bundle (see Bundles) v2.122.11 |
marketplaces | 0/1 | With 1, each product carries marketplaces[] with the switch and status per channel (see Marketplaces per Product) v2.122.11 |
fields | Comma-separated list | Only these keys per product (see Field Selection) v2.122.11 |
seo_name | Comma-separated list | Products under a shop URL: effective slug, exact match, all languages v2.122.11 |
marketplace, marketplace_status, marketplace_upload_status, marketplace_sync_state | Text, comma-separated list | Marketplace filters (see Marketplace Filters) v2.122.11 |
Since v2.122.10, invalid values and list values such as ?limit[]=50 return HTTP 400 INVALID_FILTER_VALUE with details[].
Since v2.122.12, leading or trailing whitespace does not count: ?bundles=%201 (likewise marketplaces and bonus_free_features) returns the block; up to v2.122.11 it was silently missing there. An empty value means “not set.”
Since v2.122.11, a value consisting only of commas for products_model, products_ean or seo_name returns HTTP 400 INVALID_FILTER_VALUE (“holds no value”), as does a date filter consisting only of punctuation, such as ?last_modified=.. Previously, the unfiltered list was returned or, for the date filter, only what had changed since that very moment. The other filters (status, categories_id, ean_prefix, last_modified …) are described under Export API, the search by shop URL under SEO History.
Sample Requests
# Retrieve a single product
curl -X GET "https://shop.de/xpanel/xoport/export/json/product/123" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
# All products, paginated
curl -X GET "https://shop.de/xpanel/xoport/export/json/products?limit=50&offset=0" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
# ID range
curl -X GET "https://shop.de/xpanel/xoport/export/json/products/100:200" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"Response Fields
Each product contains:
products_id,products_model,products_eanproducts_price,products_weight,products_quantity,products_costmanufacturers_id,products_statuscontract,contract_use_current_price,contract_optionv2.5.0products_inventory_management,products_min_qty,products_max_qty,products_qty_blocks,products_base_pricev2.5.0service,sitemap,non_cart,non_price,products_free_shippingv2.5.0shipping_profile,products_unit_id,base_unit_id,products_sort_orderv2.5.0images[]- Product images with sorting. Items without a main image no longer return an empty entry withimages_id0 v2.122.10categories[]- Category IDsgroups[]- Customer group pricescustomers_prices[]- Customer-specific pricesspecials[]- Special pricesextra_fields[]- Additional fieldsbadges[]- Product badgesxsells[]- Cross-selling products, complete and ordered bysort_orderv2.122.9upsells[]- Shopping cart suggestions (“Goes well with this”) v2.18.0+tabs[]- Product tabsbonus_free_features- Only with?bonus_free_features=1:status_bonus,bonus_points(price in points per item),max_bonus,status_free,bonus_value(order value per free item),max_free,auto_free; read-only:bonus_date_added,bonus_last_modified,date_status_changed. No data:nullv2.122.10bundle- Only with?bundles=1: settings and components of a bundle; without a bundle,nullv2.122.11marketplaces[]- Only with?marketplaces=1: one entry per channel with switch and status v2.122.11videos[]- Product videossuppliers[]- Suppliers:suppliers_idandproducts_model(supplier’s item number). This list replaces all assignments for the item; an entry withoutproducts_modelclears the number.storages[]- Inventory by warehouse v2.63.0+languages{}- Name, description, SEO per language:products_name,products_description,products_short_descriptionproducts_head_title_tag,products_head_desc_tag,products_head_keywords_tagseo_name,products_url,products_checkout_description,products_image_title
languages.<code>.unit_single,unit_multi,unit_base- Unit per language, filled; if no unit, empty instead ofnullv2.122.9options{}- Attributes without an attribute group (option name + values per language, SKU data per value)option_groups[]- Combined attribute groups (e.g., linked “Color + Size”), SKU data per combination v2.58.0+contenteditor{}- ContentEditor data per language
Other Product Fields
Besides the fields above, the export returns the remaining columns of the product; since v2.105.0, most of them are also writable. For these fields, the name is misleading or the effect goes further than you would expect:
| Field | Meaning |
|---|---|
products_status | 0 inactive, 1 active and visible, 2 active, but without a continuously active category path: invisible in the frontend, shown as active in the backend. Send only 0 or 1; the shop sets the value 2 itself (since v2.122.10 also on import, warning NO_ACTIVE_CATEGORY_PATH). If an integration switches categories via the API, the shop does not adjust the status of the products; a product PUT with "products_status": 1 catches up on this. |
amazon_allowed | ⚠️ Lock for Amazon Pay, despite the name: 1 = locked. If such a product is in the cart, the shop shows no Amazon Pay express button (cart, login, side cart). Amazon Pay remains selectable in the payment method selection at checkout. Not a marketplace switch. |
ebay_allowed | “Article for eBay” in the classic eBay module: only 1 lists the product there. ⚠️ 0 ends an active listing at the next sync. The eBay connection via the marketplaces does not evaluate the field; the switches in marketplaces[] apply there. |
price_declaration_id | “Note for discounts”: ID of the text shown before the strikethrough price (default 1, “Our old price”). It appears only when a special or discount price applies. The import does not check whether the ID exists; an unknown ID shows no text. |
products_xoport | Keywords for feeds, marketplaces and CSV porters, several separated by semicolons, at most 64 characters. To exclude products from a product feed, add &products_xoport=<Kennwort>&blacklist=true to the feed URL. ⚠️ Feeds and marketplaces compare as a substring: meta also matches ohnemeta. On the marketplaces, an exclusion ends existing listings at the next sync. |
lia_exclude | 1 = not in the “local inventory” feed, otherwise no effect. If the field is missing from a shop’s export, do not send it: otherwise the import aborts with HTTP 500, and the records before it have already been written. |
importflag | ⚠️ Origin marker of the ERP imports. An importer treats products with its marker as its own and deletes or deactivates them if they are missing from its next run. Change only deliberately. |
import_mask | Legacy field, read-only (READONLY_FIELD). Neither the backend nor the CSV porter nor this API writes it; do not evaluate it. |
Field Selection (?fields=) v2.122.11
On /products, /product/{ID}, /products/{ID} and ranges, ?fields= names the keys per product as a comma-separated list. The shop loads only the data needed for them: in a test, a page with 250 products weighed 4.3 MB without and 52 KB with fields=products_model,products_price,products_quantity,products_status.
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
"https://shop.de/xpanel/xoport/export/json/products?status=1&limit=250&fields=products_model,products_price,products_quantity"
# → "data": [{"products_id": 28, "products_model": 8624000, "products_price": 12.5, "products_quantity": 3}, …]- Valid keys are the top-level keys of the product record: every column of the product (including the shop’s own columns),
manufacturers_idand the block keys from the list below.products_idis always included; the order is that of the record. - Names consist of
a–z,0–9and_, up to 64 characters each. At most 100 list items, counting empty and duplicate ones; a duplicate takes effect once. An emptyfields=or one consisting only of commas (fields=,) counts as not set. - Missing entirely instead of empty: A key that is not named is absent from the response; it never appears as
[]ornull. Likewise, a named key that the product does not have is absent, e.g.specialwithout a special price. A selection can therefore be sent back viaPUT, even with?_strict=true, and changes only what it carries. - The
shipping_profilecolumn returns only the profile ID; for the resolved profile, nameshipping_profile_effective,shipping_profile_name,shipping_profile_steporshipping_profile_text. bundle,bonus_free_featuresandmarketplaces: with?fields=, the name requests the block; no switch is needed. A switch without the name then has no effect (warningSWITCH_IGNORED).- Without
?fields=, the response is unchanged. The XML export does not support the parameter.
Block keys: A block is loaded only if one of its keys is named. For each key, the content and when the key is absent:
groups– Prices per customer group, group 0 from the productmanufacturers– Manufacturer names formanufacturers_idlanguages– Texts per language, including unitscustomers_prices– Customer prices; absent without a customer pricerestricted_customer_groups– Restricted customer groups; absent without a restrictionimport_blocks– Import locks; absent without a lockcategories– Category assignments; absent without an assignmentimages– Main and additional images;[]without an imageextra_fields– Additional fields;[]without a field only with the extended warehouse system, otherwise absentbadges– Badges; absent without a badgexsells– Cross-selling; absent without an entryupsells– Up-selling; absent without an entrytabs– Tabs in all languages; absent without a tabspecial– Special price; absent without a special priceoptions– Attributes without a group; absent without an attributeoption_groups– Combined attribute groups; absent without a groupvideos– Videos; absent without a videosuppliers– Suppliers; absent without an assignmentshipping_profile_effective,shipping_profile_name,shipping_profile_step,shipping_profile_text– Traffic light profile (one shared block for all four): the applicable profile, its name, the step for the current stock and its delivery time text; all four are absent if the shop has no traffic light profilesquicksearch– Number of quick search entries per language ({}= not indexed)options_rules– Option rules of the configurator; absent without a rulecontenteditor– ContentEditor data of the description; only with the xoContentEditor license and datastorages– Stock rows; only with the extended warehouse systembundle– Bundle,nullwithout a bundle; without?fields=only with?bundles=1bonus_free_features– Bonus and free-item data,nullwithout an entry; without?fields=only with?bonus_free_features=1marketplaces– One entry per channel; without?fields=only with?marketplaces=1
| Request | Response |
|---|---|
?fields=produts_model,products_price | HTTP 200, products_price takes effect; warning UNKNOWN_FIELD with suggestion: "products_model" |
The same with &_strict=true | HTTP 400 UNKNOWN_FIELD, no data |
?fields=Products_Model, ?fields=languages.products_name, ?fields=-extra_fields, ?fields=*, ?fields[]=…, or more than 100 list items | HTTP 400 INVALID_FILTER_VALUE |
?bundles=1&fields=products_model | HTTP 200 without bundle, warning SWITCH_IGNORED |
?fields=, you received the full record and the warning UNKNOWN_FILTER up to v2.122.10. Now only the named keys are returned, and an unusable list returns HTTP 400.Attributes (Options)
options{} and option_groups[] (structures below). Since v2.96.0, the attribute catalog is read independently of a product via GET /Export/JSON/products_options (list without values), GET /Export/JSON/products_option/{ID} (one attribute with its values) and GET /Export/JSON/products_options_values (scope products:read); POST/PUT /Import/JSON/products_options creates and changes attributes (scope products:write). A call to /Export/JSON/products_attributes returns HTTP 501 NOT_IMPLEMENTED; this endpoint does not exist.Depending on the attribute type, the export provides two different structures:
| Field | Contains | SKU data (model/ean/quantity/price) belongs to … |
|---|---|---|
options{} | Attributes without an attribute group | Single value |
option_groups[] v2.58.0+ | Combined attribute groups, e.g., linked “Color + Size” | Combination of values |
There are intentionally two fields: for an attribute group, there is one SKU per combination (“black / L” = one EAN), not per individual value. Merging them would create SKUs that do not exist. A product can have values in both fields.
"option_groups": [
{
"group": 1,
"options": [
{ "id": 27, "languages": { "de": { "name": "Farbe" } } },
{ "id": 26, "languages": { "de": { "name": "Größe" } } }
],
"combinations": [
{
"detail_id": 2344,
"values": [
{ "options_id": 27, "options_values_id": 2483, "languages": { "de": { "name": "schwarz" } } },
{ "options_id": 26, "options_values_id": 304, "languages": { "de": { "name": "L" } } }
],
"model": "MS-01-0040-001-L",
"ean": "4001",
"quantity": "5",
"price": "0.0000",
"sort_id": 1
}
]
}
]
options[]listed in display order;combinations[].values[]follows the same order—position 0 is always the first group member.detail_id: 0with empty SKU fields means: nothing is maintained for this combination (not an error).- The import continues to expect the flat
options[]format (v2.39.0)—convert on the client side for round trips.
Import (POST/PUT)
POST creates new products; PUT updates existing ones.
languages format (consistent with export). For INSERT (POST), missing languages are automatically filled with data from the master language (auto-fill).contract, contract_use_current_price), logistics (products_cost, products_min_qty, products_ean), and flags (service, sitemap, non_cart, non_price).specials[]. Supported are customers_group_id, specials_new_products_price or discount_percent, specials_begin/specials_end, specials_price_id/specials_price_name, specials_type, and deletion via action: delete.upsells[]. Accepts an array of products_model strings or objects with {products_model, sort_order}. Replace semantics—existing entries are replaced. Self-references and unknown models are silently skipped.warranty_period (an empty string "" overrides the default 24m), products_xoport (markers, e.g., googleblacklist), images[] (additional images by filename, replaces the gallery, including alt text), storages[] (per-warehouse inventory when multi-warehouse is active—fields, semantics, and pitfalls in the “Inventory Levels & Reorder Points per Warehouse” section) and downloads[] (product downloads, d_src = file at files/). POST /media uploads files using entity_type=download to files/.warranty_type can now be imported—physical and digital are allowed; the spelling is corrected. The array_key_exists semantics apply: if the key is missing, the column remains unchanged; an empty string "" clears it. ⚠ An unknown value is rejected with a warning in warnings[] and is not automatically corrected—this field helps determine whether an item is classified as a physical product or digital content.groups[]): For each product, different prices can be imported based on customer group (e.g., retailer groups). groups is an array of objects (not an ID list): each entry requires customers_group_id (> 0) and sets the net price for the group using customers_group_price—the gross price is automatically calculated from the tax class. Optional tiered pricing: products_price1…products_price8 + products_price1_qty…products_price8_qty. Upsert per group; groups not included remain unchanged. The group 0 = “End Customers” is set via products_price. You can determine the group IDs via product export (field groups).products_customers_prices) can be imported via customers_prices[]—including tiered pricing and the ability to selectively delete individual customer prices.restricted_customer_groups only accepts existing customer groups, as whole numbers. If the list does not contain an existing group or is not a list, the saved restrictions remain unchanged (warning: CUSTOMER_GROUP_RESTRICTION_KEPT); unknown entries alongside known ones are reported with CUSTOMER_GROUP. [] still removes all restrictions.- An
import_blockslist without a usable entry no longer changes any locks. All lock types of the shop can be set. New:import_blocks_mode(replace,mergeorappend,remove) andrecords[].import_blocks. Older shops ignore this mode, so send it only in conjunction with?_strict=true. - An invalid
categories_mode, an unknown category,categoriesorimagesthat is not a list, and animages[]without a usable entry reject the record before anything is written (INVALID_CATEGORIES_MODE,INVALID_CATEGORIES,INVALID_IMAGES). A rejected POST does not create anything; each rejection is listed with its code inrecords[]. options_replace,options_strict_names,apply_value_defaults,videos_replace, andcustomers_prices_replacecan only be enabled usingtrue,1,"1", or"true".- Your own export can be sent back with
?_strict=true: read-only fields such asquicksearchandoption_groupsreportREADONLY_FIELD.
products_statusaccepts only 0 or 1 (including"0"/"1"andtrue/false). The shop sets status 2 itself if the item does not have a fully active category path (warning:NO_ACTIVE_CATEGORY_PATH). A submitted 2 reportsREADONLY_VALUE; an invalid value reportsINVALID_FIELD_VALUE; neither is written, but the rest of the record is. New:records[].products_status.products_xoportaccepts a maximum of 64 characters; a longer value rejects the record.- Bonus and free-item data via
bonus_free_features: missing key = unchanged,null= remove, object = only the fields sent. Invalid values reject the record (INVALID_BONUS_FREE_FEATURES), and the import lockbonusis observed. Responserecords[].bonus_free_features:written,unchanged,removed, orblocked. - An image entry marked “no main image” from older exports (
images_id0, emptyimages_file) is ignored; the saved main image remains. It can still be removed with"products_image": "". - Import lock
costfor the purchase price. Checkapi_versionfirst: Older shops do not save the type, and up to version 2.122.8, a list containing onlycostremoves the existing locks.
bundleis processed: previously, a submittedbundlewas skipped asUNKNOWN_FIELD. Now it changes the bundle, and an invalidbundlemakes the entire record fail (INVALID_BUNDLE). See Bundles.marketplaces[]writes the marketplace switches per channel; previously, the key wasUNKNOWN_FIELD. A returned export with?marketplaces=1also writes the switches. See Marketplaces per Product.- A selection from
?fields=can be sent back and changes only the named keys.
Customer-Specific Prices (customers_prices[]) v2.57.0
For each product, different prices can be imported for individual customers. The customer is identified via customers_id or customers_id_extern (WaWi customer number).
{
"type": "products",
"data": [{
"products_model": "ABC-123",
"customers_prices": [
{"customers_id": 48, "customers_price": "9,99", "products_price1": 9.5, "products_price1_qty": 10},
{"customers_id_extern": "20074", "customers_price": 8.88},
{"customers_id": 55, "_action": "delete"}
]
}]
}- Partial Upsert: Only the columns included in the request are written. Available:
customers_price(aliasprice),products_price1…products_price12+products_price1_qty…products_price12_qty(tiered pricing),products_qty_blocks,products_min_qty,products_max_qty. - Customer Addressing: via
customers_idorcustomers_id_extern— the WaWi customer number must be unique; ambiguous numbers trigger a warning, and the entry is skipped. _action: "delete"removes the customer price for the respective customer.customers_prices_replace: true= Full sync: First, all customer prices for the product are deleted; then, the ones sent along are written. Combined with an emptycustomers_prices: [], all customer prices for the product are removed.- Insert defaults: If
customers_priceis missing, the current product price is used; quantity blocks and minimum quantity = 1. customers_price≤ 0 is ignored (warning)—removal occurs exclusively via_action: "delete".
customers_prices—exported data can be re-imported unchanged.Inventory Levels & Reorder Points per Warehouse (storages[]) v2.45.0
When the multi-warehouse system is active, inventory, safety stock, reorder point, and storage location are maintained for each warehouse (table products_to_storages). The array has been available since v2.34.0; starting with v2.45.0, only the fields that are actually passed are written—a partial payload (e.g., only products_reorder_level) no longer sets the remaining columns for this warehouse to 0.
| Field | Type | Description |
|---|---|---|
storages_id (Required) | int | ID of the additional warehouse from the storages table (name in storages_info; maintained in the backend under Products → Warehouse Management). Alias: warehouse_id. |
products_quantity | decimal(16,8) | Stock in this warehouse. |
products_safe_quantity | decimal(16,8) | Safety stock for this warehouse. |
products_reorder_level | decimal(16,8) | Reorder point for this warehouse. |
products_storage_text | varchar(50) | Storage location as free text, max. 50 characters. Is not automatically truncated. |
options_id | int, Default 0 | Characteristic/variant inventory. 0 = Inventory without characteristic reference. |
Set only the reorder point for a warehouse—all other values for this warehouse remain unchanged:
{
"type": "products",
"data": [{
"products_model": "ABC-123",
"storages": [
{"storages_id": 3, "products_reorder_level": 10}
]
}]
}Complete example with two warehouses, a characteristic inventory, and a separately set total inventory:
{
"type": "products",
"data": [{
"products_model": "ABC-123",
"products_quantity": 42,
"storages": [
{"storages_id": 1, "products_quantity": 30, "products_safe_quantity": 2, "products_reorder_level": 10, "products_storage_text": "Regal A-04"},
{"storages_id": 3, "products_quantity": 12, "products_reorder_level": 5},
{"storages_id": 3, "options_id": 2483, "products_quantity": 4}
]
}]
}- Partial update (as of v2.45.0): Only fields present in the payload are written (
INSERT … ON DUPLICATE KEY UPDATE). Up to v2.44.0, the warehouse row was replaced usingREPLACE—omitted columns were set to0. - Key per inventory line:
(storages_id, products_id, options_id). If the triple matches, the existing line is updated; otherwise, a new row is inserted. - No full mirror: Inventory rows not in the array remain unchanged. There is no
storages_replaceand no_action: "delete"—removing inventory rows is only possible in the backend. - No-op without data fields: An entry containing only the key writes nothing and, in particular, does not create a row with zero values.
nullis not “unchanged”: A field with the valuenullis considered passed and writes0. If a value is to remain unchanged, omit the field.- New warehouse row: Include inventory. If no row exists yet for the triplet, it is created solely from the fields passed. Therefore, when populating for the first time, also send
products_quantityandproducts_safe_quantity— otherwise, the database server may reject the record depending on the configuration without the response reporting an error. options_id: Default0. Values greater than 0 maintain the inventory of a characteristic/variant combination in this warehouse; product and characteristic inventory are separate rows.- The decimal separator is the period:
"50.5"is valid;"50,5"is interpreted as50. - Prerequisite
EXTENDED_STORAGE_SYSTEM = 'true': If the extended warehouse system is deactivated,storagesis completely ignored; the response contains the warningSTORAGE_SYSTEM_DISABLED. - Unknown or inactive warehouse: A
storages_idthat does not exist or whose warehouse is inactive triggers the warningSTORAGE_NOT_FOUND; the entry is skipped, and the remaining entries continue to be processed. - Caution—missing
storages_idis silently discarded: Entries withoutstorages_id/warehouse_idor with a value of≤ 0are skipped without a warning. The import then reports success, even though no inventory was written.
storages: The “main warehouse” reorder point from the product editor is the product column products.products_reorder_level—a different field than storages[]. Starting with v2.63.0, it can be imported along with products_safe_quantity as a top-level field of the product; in older versions, it can only be imported via the backend or the CSV/XML column reorder_level. storages_id: 1 is already the first auxiliary warehouse—if you expect the reorder point for the main warehouse to appear there, you are entering it in the wrong warehouse.products_quantity is not calculated as the sum of the warehouse levels: The product’s total inventory is an independent column. If you set warehouse inventories via storages, you must separately include products_quantity in the same request—otherwise, the old total inventory will remain.storages[]—with the same set of fields, so exported inventory data can be re-imported unchanged. If the extended inventory system is disabled, the key is missing entirely (not as an empty array). All inventory lines for the product are output, including those for inactive warehouses—STORAGE_NOT_FOUND then acknowledges their re-import. Up to v2.62.0, the export did not include inventory levels; in that case, you’ll need to use the CSV Porter (columns storage_<ID>_*) or the backend.Sample Request
curl -X POST "https://shop.de/xpanel/xoport/import/json/products" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"type": "products",
"data": [{
"products_model": "TEST-001",
"products_price": 99.99,
"products_quantity": 50,
"manufacturers_id": 1,
"contract": 1,
"contract_use_current_price": 1,
"products_ean": "4012345678901",
"categories": [5, 12],
"groups": [
{"customers_group_id": 2, "customers_group_price": 1975.00},
{"customers_group_id": 3, "customers_group_price": 1975.00}
],
"suppliers": [{"suppliers_id": 3, "products_model": "LF-4711"}],
"specials": [{
"customers_group_id": 0,
"discount_percent": 10,
"specials_price_name": {"de": "Muttertag", "en": "Mother Day"},
"status": 1,
"specials_begin": "2026-05-05 00:00:00",
"specials_end": "2026-05-11 23:59:59"
}],
"languages": {
"de": {
"products_name": "Testprodukt",
"products_description": "Beschreibung...",
"products_head_title_tag": "SEO Titel",
"products_head_desc_tag": "Meta Description",
"seo_name": "testprodukt"
}
}
}]
}'Bundles v2.122.11
Composition and settings of a bundle on the product, scopes products:read and products:write. Up to v2.122.10, the REST API did not recognize the field: a submitted bundle was skipped as UNKNOWN_FIELD, and ?bundles=1 reported UNKNOWN_FILTER.
Export
Only on request: GET /products?bundles=1, also /product/{ID} and ranges (only 0 or 1, otherwise HTTP 400 INVALID_FILTER_VALUE). With the switch, each product on the page carries the key: null without a bundle, otherwise the settings and items[] in exactly the form the import reads. With ?fields=, the name bundle requests the block; ?bundles=1 without the name then has no effect (warning SWITCH_IGNORED).
Import
{ "type": "products", "data": [ { "products_model": "SET-100",
"bundle": { "bundle_status": 1, "bundle_cart_listing": 1,
"items": [ { "products_model": "SHIRT-1", "qty": 1, "options_name": "Farbe > Größe", "options_value": "Rot > XL" },
{ "uprid": "4711{3}12{5}40", "qty": 2 } ] } } ] }bundle | Effect |
|---|---|
| Key missing | Bundle remains unchanged |
null or {"delete": true} | Removes the bundle, settings and composition |
Object with items[] | Settings (only those sent) and components as a full mirror: components not named are dropped |
Object without items or with an empty items | Only the settings |
All or nothing per record: Structure, settings and every component are checked before writing. An unknown component, a self-reference, or an unusable quantity, attribute selection or setting makes the record fail with INVALID_BUNDLE; details[] gives the reasons, and nothing is written, not even a price in the same record.
Settings
| Field | Meaning |
|---|---|
bundle_status | Bundle active; a new bundle starts with 1 |
bundle_category_listing, bundle_product_listing, bundle_cart_listing | Show components in the category, on the product page and in the shopping cart |
bundle_image_listing, bundle_options_listing | Show images or attributes of the components |
bundle_save_in_pieces, bundle_main_as_product | Components individually in the order, main item as a separate product |
bundle_spread_status, bundle_auto_qty | Pass the status on to the components, stock from the components |
bundle_copy_to_slaves | On the master: settings and composition are passed on to the active variants |
bundle_auto_price, bundle_auto_price_percent | Not available in Shop 4.9: warning BUNDLE_SETTING_UNAVAILABLE, nothing written |
Values: 1/0, true/false, ja/nein, yes/no, on/off; null = not specified. The other switches of a new bundle are off.
Components (items[])
| Field | Meaning |
|---|---|
products_id or products_model | Component by ID (takes precedence) or item number |
uprid | Product and attribute selection in one, e.g. 4711{3}12{5}40 or just {3}12{5}40; together with products_id or products_model, the IDs must match; together with attribute fields, the same selection must result |
qty | Quantity greater than 0, empty = 1 |
sort | Order, empty = position in items[] |
options_name and options_value | Attributes by name in the default language, several separated by “>” (Farbe > Größe); several values of a checkbox separated by commas |
options_id and options_value_id | Attributes by ID, several separated by “_”; IDs take precedence |
Identical entries (product and selection) are merged into one row with the quantities added. A component cannot be the bundle itself.
Response
records[].bundle:written,settings,removedornone.stats.bundleswithprocessed,written,settingsandremovedif the batch carriedbundle.INVALID_BUNDLEwithdetails[], such asitem 2: NOCOMPONENT SHIRT-9,item 1: QTY 0, orSETTING bundle_cart_listing.
- The export turns purely numeric item numbers and a
upridwithout a selection into numbers; the import accepts both. If you need text, set?numeric_check=false. - Shops coming from a version before 4.9.155: after the update, open the backend once before the integration writes bundles. Otherwise, a bundle with two attribute combinations of the same product fails.
Marketplaces per Product v2.122.11
The “Marketplaces” tab of the product editor enables a product per channel; the multichannel product list shows the upload status, the verification status and the state “current” or “pending”. Since v2.122.11, this can be read, written and filtered via the API. Up to v2.122.10, the API did not recognize the block.
Reading
Only on request: GET /products?marketplaces=1, also /product/{ID}, /products/{ID} and ranges (only 0 or 1, otherwise HTTP 400 INVALID_FILTER_VALUE). Each product carries one entry for every channel of the shop, in ascending order of marketplace_id, even when not enabled (then status 0). With ?fields=, the name marketplaces requests the block; ?marketplaces=1 without the name then has no effect (warning SWITCH_IGNORED).
GET /xpanel/xoport/Export/JSON/product/4711?marketplaces=1
{"products_id": 4711, "products_model": "ART-1", "…": "…",
"marketplaces": [
{"marketplace_id": 2, "code": "idealo", "name": "Idealo", "licensed": true, "adapter": true,
"status": 1, "upload_status": "done", "verify_status": null, "sync_state": "pending",
"last_updated": "2026-10-13 23:00:00", "last_error_at": null,
"external_id": "ART-1", "external_link": null, "asin": null, "live": null, "messages": []},
{"marketplace_id": 9, "code": "amazon", "name": "Amazon", "licensed": true, "adapter": true,
"status": 1, "upload_status": "failed", "verify_status": null, "sync_state": "in_sync",
"last_updated": "2026-10-14 11:00:00", "last_error_at": "2026-10-14 11:00:00",
"external_id": "SKU-4711", "external_link": "https://www.amazon.de/dp/B0C1234567", "asin": "B0C1234567", "live": null,
"messages": [{"code": "90220", "message": "Das Attribut brand fehlt.", "field": null}]}
]}| Field | Meaning |
|---|---|
marketplace_id | ID of the channel in this shop; it can differ from shop to shop |
code | Stable identifier of the channel (list below); identify the channel by this, not by its name |
name | Display name in the language of the request |
licensed | Channel enabled in the shop: multichannel module booked and channel switched on |
adapter | false: the shop has no integration for this entry; a switch can be set, but nothing is transferred |
status | Switch of the “Marketplaces” tab: 1 enabled, 0 not. Writable |
upload_status | Transfer status as saved, an open list: done, pending, failed, error, inactive (Idealo: offer deleted, channel data kept) or null (never transferred or offer deleted). OTTO also writes its own states of its upload tasks; these cannot be filtered on. |
verify_status | Verification status of the channel as saved (eBay, OTTO) |
sync_state | in_sync, pending, not_listed or not_tracked, rule below |
last_updated | Last stamp of the entry, not necessarily a sync; 1970-01-01 00:00:00 = marked for sync |
last_error_at | Point in time of the last error; after that, the sync pauses for one day. The message is in messages |
external_id, external_link | The offer on the channel (SellerSKU, item ID, offer ID …) and its link |
asin | Amazon only: the ASIN from the link |
live | Always null in Shop 4.9 |
messages[] | Messages of the channel on the last transfer as {code, message, field}, never the raw response |
sync_state | Meaning |
|---|---|
in_sync | Offer exists, and the product has not been changed since the entry’s last stamp; the same second counts as current. Does not mean “transferred”: whether something arrived is shown by upload_status and messages. |
pending | Offer exists, product changed afterwards: “not current” in the product list |
not_listed | No offer on the channel |
not_tracked | Channel without state: Galaxus, Shöpping.at and entries without an integration |
Mirakl channels need no offer ID: there, the state compares only the points in time, and a saved row is never not_listed. The status switch is not part of sync_state.
0) that have no image, no GTIN (where the channel requires one), a duplicate EAN or MPN, are on a block list, are blocked for guests or are outside the channel’s category restriction. Idealo switches off at stock 0 (0, upload_status inactive) and reinstates exactly these offers when stock is replenished. The listings sync (Amazon, Kaufland) sets 1, “Delete products” on eBay sets 0; in addition, there are the product editor, the CSV Porter and the XML import.Writing
POST/PUT /products with the key marketplaces sets the switch per channel (scope products:write). Only the channels sent change; if the key is missing, everything stays unchanged. An entry names the channel via code or marketplace_id and carries status: 1/0, true/false or "1"/"0". The read fields of the export are skipped silently: an export with ?marketplaces=1 can be sent back unchanged, even with ?_strict=true. Writing happens only for channels licensed in the shop.
PUT /xpanel/xoport/Import/JSON/products
{"type": "products", "data": [{"products_id": 4711, "marketplaces": [
{"code": "idealo", "status": 1},
{"marketplace_id": 9, "status": false},
{"code": "manor", "status": "1"}
]}]}
→ "stats": {"…": "…", "marketplaces": {"processed": 1, "written": 1, "unchanged": 0, "skipped": 0}},
"records": [{"index": 1, "products_id": 4711, "status": "updated", "marketplaces": "written"}]| Warning | When |
|---|---|
INVALID_MARKETPLACE | marketplaces is not a list, an entry is not an object, or it names no channel of this shop |
INVALID_MARKETPLACE_STATUS | status is missing or is not 0/1 |
MARKETPLACE_NOT_LICENSED | Channel without a license, and the entry would change the saved switch |
Warnings abort nothing: the record and its other entries continue, the saved switch stays. An entry with 0 for a channel that is not enabled creates nothing. The response reports records[].marketplaces (written or unchanged) per record and stats.marketplaces for the batch.
- Stamp: A
PUTwith only the product identifier (products_id,products_model) andmarketplacesdoes not change the product’s modification time; it does not appear in the?last_modifieddelta. Every changed channel row getslast_updated1970-01-01 00:00:00and is synced on the next run of exactly this channel. With an offer, and on Mirakl also without one, it then showssync_statepending; without an offer, it staysnot_listed. If the record carries other changed fields, the product is stamped as before. - Effect on the channel (at the next sync, no immediate call): on Amazon, eBay, Kaufland and Idealo,
1creates an offer and0removes it. Mirakl channels such as Manor or Decathlon transfer only with maintained Mirakl data (brand,category) and do not remove offers. OTTO and Galaxus follow the next full export; Shöpping.at includes the product with the next feed but does not remove it. Check24, Etsy and entries without an integration are not transferred by the shop. - Idealo: A withdrawal (
0) holds, even with stock. If the shop switched an offer off itself because of stock 0, it reinstates it when stock is replenished, as long as “Automatically reactivate when stock is replenished” is switched on for the product; a submittedstatus0does not change this. An offer switched off by the filter, e.g. for a missing image, does not come back on its own after the fix: sendstatus1 again.
PUT resets the switches to the state of the export. So send marketplaces only if the switches are to be changed, or fetch the export without ?marketplaces=1. Conversely, a product editor opened before and saved afterwards resets the switch to its own state: after enabling via the API, reload open editors. And the next sync can reverse a set value (filter, Idealo stock): after a PUT, read back status and upload_status.Marketplace Filters
“All non-current Idealo products” in one request instead of across the whole catalog: ?marketplace= names the channel (ID or code, comma-separated list of up to 100 values), plus at least one condition. ?marketplaces=1 is not needed for this. Up to v2.122.10, the names were skipped as UNKNOWN_FILTER, and the list was returned unfiltered.
| Parameter | Values |
|---|---|
marketplace_status | 1 enabled, 0 not (also without a saved row) |
marketplace_upload_status | done, pending, failed, error, inactive, none (no status); comma-separated list |
marketplace_sync_state | in_sync, pending, not_listed, not_tracked; comma-separated list |
# all non-current Idealo products
GET /Export/JSON/products?marketplace=idealo&marketplace_sync_state=pending&limit=250
# “pending” as in the product list: enabled and active
GET /Export/JSON/products?marketplace=idealo&marketplace_status=1&marketplace_sync_state=pending&status=1
# Amazon products with a failed upload (“failed” in the product list)
GET /Export/JSON/products?marketplace=amazon&marketplace_upload_status=error,failed
# enabled but never transferred (no upload status), on one of the Mirakl channels
GET /Export/JSON/products?marketplace=manor,decathlon&marketplace_status=1&marketplace_upload_status=none- All conditions apply to the same channel; if several channels are named, one of them is enough. The values of a list are alternatives.
- The switch is not part of
sync_state:pendingalso finds a switched-off product whose offer is still recorded. For “pending” as in the product list, therefore addmarketplace_status=1andstatus=1. - A product without a saved row for the channel counts with
status0,upload_statusnoneandsync_statenot_listedornot_tracked. miraklnames no channel; the Mirakl channels have their own codes.stats.totalcounts the matches. The product list in the backend additionally hides products that the sync does not transfer, e.g. without an image or with a duplicate EAN; such products appear in the response, but not in the list.
| Case | Response |
|---|---|
Condition without ?marketplace=, or ?marketplace= without a condition | HTTP 400 INVALID_FILTER_VALUE |
Unknown channel (?marketplace=idelo, ?marketplace=mirakl) | HTTP 400 INVALID_FILTER_VALUE, the message lists the shop’s codes |
Value outside the list (?marketplace_status=2, ?marketplace_upload_status=DONE) | HTTP 400 INVALID_FILTER_VALUE, the message lists the valid values |
On /products/{ID}, /product/{ID} or a range | HTTP 400 FILTER_NOT_APPLICABLE |
Codes
code | Channel |
|---|---|
galaxus | Galaxus |
idealo | Idealo |
otto | OTTO |
check24 | Check24 |
ebay | eBay (multichannel integration) |
etsy | Etsy |
kaufland | Kaufland |
microspot | Microspot (older shops only, without integration) |
amazon | Amazon |
shoeppingat | Shöpping.at |
manor, decathlon, conrad, mediamarkt, galeria, obi, ottooffice, home24 | Mirakl channels |
Delete (DELETE)
The product is addressed by its ID in the path: DELETE /xpanel/xoport/delete/json/products/{ID}. Without an ID, the API returns HTTP 400 MISSING_ID.
Example
curl -X DELETE "https://shop.de/xpanel/xoport/delete/json/products/123" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"