Products: Endpoint

Endpoint

Products

Complete CRUD operations for product data.


Overview

OperationMethodEndpointScope
Export AllGET/xpanel/xoport/export/json/productsproducts:read
Single ProductGET/xpanel/xoport/export/json/product/{ID}products:read
ID RangeGET/xpanel/xoport/export/json/products/{START}:{END}products:read
ImportPOST/xpanel/xoport/import/json/productsproducts:write
UpdatePUT/xpanel/xoport/import/json/productsproducts:write
DeleteDELETE/xpanel/xoport/delete/json/products/{ID}products:delete

Export (GET)

Note: The product ID is passed as a path segment, not as a query parameter. Use /product/{ID} (singular) for a single product.

URL Patterns

URLDescription
/export/json/product/123Single product with ID 123; HTTP 404 NOT_FOUND if there is no match v2.122.10
/export/json/productsAll products (paginated)
/export/json/products/100:200Products 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%20Leading 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/productlistHTTP 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

ParameterTypeDescription
limitintMax. number (Default: 50, Max: 250)
offsetintStart position for pagination
bonus_free_features0/1With 1, each product includes the bonus_free_features block (bonus and free-item data) v2.122.10
bundles0/1With 1, each product carries the key bundle (see Bundles) v2.122.11
marketplaces0/1With 1, each product carries marketplaces[] with the switch and status per channel (see Marketplaces per Product) v2.122.11
fieldsComma-separated listOnly these keys per product (see Field Selection) v2.122.11
seo_nameComma-separated listProducts under a shop URL: effective slug, exact match, all languages v2.122.11
marketplace, marketplace_status, marketplace_upload_status, marketplace_sync_stateText, comma-separated listMarketplace 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_ean
  • products_price, products_weight, products_quantity, products_cost
  • manufacturers_id, products_status
  • contract, contract_use_current_price, contract_option v2.5.0
  • products_inventory_management, products_min_qty, products_max_qty, products_qty_blocks, products_base_price v2.5.0
  • service, sitemap, non_cart, non_price, products_free_shipping v2.5.0
  • shipping_profile, products_unit_id, base_unit_id, products_sort_order v2.5.0
  • images[] - Product images with sorting. Items without a main image no longer return an empty entry with images_id 0 v2.122.10
  • categories[] - Category IDs
  • groups[] - Customer group prices
  • customers_prices[] - Customer-specific prices
  • specials[] - Special prices
  • extra_fields[] - Additional fields
  • badges[] - Product badges
  • xsells[] - Cross-selling products, complete and ordered by sort_order v2.122.9
  • upsells[] - Shopping cart suggestions (“Goes well with this”) v2.18.0+
  • tabs[] - Product tabs
  • bonus_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: null v2.122.10
  • bundle - Only with ?bundles=1: settings and components of a bundle; without a bundle, null v2.122.11
  • marketplaces[] - Only with ?marketplaces=1: one entry per channel with switch and status v2.122.11
  • videos[] - Product videos
  • suppliers[] - Suppliers: suppliers_id and products_model (supplier’s item number). This list replaces all assignments for the item; an entry without products_model clears the number.
  • storages[] - Inventory by warehouse v2.63.0+
  • languages{} - Name, description, SEO per language:
    • products_name, products_description, products_short_description
    • products_head_title_tag, products_head_desc_tag, products_head_keywords_tag
    • seo_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 of null v2.122.9
  • options{} - 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:

FieldMeaning
products_status0 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_xoportKeywords 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_exclude1 = 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_maskLegacy 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_id and the block keys from the list below. products_id is always included; the order is that of the record.
  • Names consist of a–z, 0–9 and _, up to 64 characters each. At most 100 list items, counting empty and duplicate ones; a duplicate takes effect once. An empty fields= 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 [] or null. Likewise, a named key that the product does not have is absent, e.g. special without a special price. A selection can therefore be sent back via PUT, even with ?_strict=true, and changes only what it carries.
  • The shipping_profile column returns only the profile ID; for the resolved profile, name shipping_profile_effective, shipping_profile_name, shipping_profile_step or shipping_profile_text.
  • bundle, bonus_free_features and marketplaces: with ?fields=, the name requests the block; no switch is needed. A switch without the name then has no effect (warning SWITCH_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 product
  • manufacturers – Manufacturer names for manufacturers_id
  • languages – Texts per language, including units
  • customers_prices – Customer prices; absent without a customer price
  • restricted_customer_groups – Restricted customer groups; absent without a restriction
  • import_blocks – Import locks; absent without a lock
  • categories – Category assignments; absent without an assignment
  • images – Main and additional images; [] without an image
  • extra_fields – Additional fields; [] without a field only with the extended warehouse system, otherwise absent
  • badges – Badges; absent without a badge
  • xsells – Cross-selling; absent without an entry
  • upsells – Up-selling; absent without an entry
  • tabs – Tabs in all languages; absent without a tab
  • special – Special price; absent without a special price
  • options – Attributes without a group; absent without an attribute
  • option_groups – Combined attribute groups; absent without a group
  • videos – Videos; absent without a video
  • suppliers – Suppliers; absent without an assignment
  • shipping_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 profiles
  • quicksearch – Number of quick search entries per language ({} = not indexed)
  • options_rules – Option rules of the configurator; absent without a rule
  • contenteditor – ContentEditor data of the description; only with the xoContentEditor license and data
  • storages – Stock rows; only with the extended warehouse system
  • bundle – Bundle, null without a bundle; without ?fields= only with ?bundles=1
  • bonus_free_features – Bonus and free-item data, null without an entry; without ?fields= only with ?bonus_free_features=1
  • marketplaces – One entry per channel; without ?fields= only with ?marketplaces=1
RequestResponse
?fields=produts_model,products_priceHTTP 200, products_price takes effect; warning UNKNOWN_FIELD with suggestion: "products_model"
The same with &_strict=trueHTTP 400 UNKNOWN_FIELD, no data
?fields=Products_Model, ?fields=languages.products_name, ?fields=-extra_fields, ?fields=*, ?fields[]=…, or more than 100 list itemsHTTP 400 INVALID_FILTER_VALUE
?bundles=1&fields=products_modelHTTP 200 without bundle, warning SWITCH_IGNORED
Changed in v2.122.11: If you already send ?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)

Attributes are associated with the product. The product export returns them per product in 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:

FieldContainsSKU data (model/ean/quantity/price) belongs to …
options{}Attributes without an attribute groupSingle 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: 0 with 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.
Up to and including API 2.57.1, the export did not return grouped attributes at all—no empty field, no warning. If you see “no attributes” in an older version, check in the backend whether the product’s options are in an attribute group. Fixed in API 2.58.0 (Shop 4.8.9).

Import (POST/PUT)

POST creates new products; PUT updates existing ones.

Since v2.4.2: Product descriptions are passed exclusively via the nested languages format (consistent with export). For INSERT (POST), missing languages are automatically filled with data from the master language (auto-fill).
New in v2.5.0: 19 extended fields for contract data (contract, contract_use_current_price), logistics (products_cost, products_min_qty, products_ean), and flags (service, sitemap, non_cart, non_price).
New in v2.17.0: Product special offers can be imported via 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.
New in v2.18.0: Shopping cart additions can be imported via 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.
New in v2.34.0: B-grade automation & additional fields: 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/.
New in v2.67.0: 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.
Customer Group/Retailer Prices (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).
New in v2.57.0: Customer-specific prices (the “Customer-Specific Prices” tab in the Product Editor, table products_customers_prices) can be imported via customers_prices[]—including tiered pricing and the ability to selectively delete individual customer prices.
New in v2.122.7: 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.
Changed in v2.122.9:
  • An import_blocks list without a usable entry no longer changes any locks. All lock types of the shop can be set. New: import_blocks_mode (replace, merge or append, remove) and records[].import_blocks. Older shops ignore this mode, so send it only in conjunction with ?_strict=true.
  • An invalid categories_mode, an unknown category, categories or images that is not a list, and an images[] 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 in records[].
  • options_replace, options_strict_names, apply_value_defaults, videos_replace, and customers_prices_replace can only be enabled using true, 1, "1", or "true".
  • Your own export can be sent back with ?_strict=true: read-only fields such as quicksearch and option_groups report READONLY_FIELD.
Changed in v2.122.10:
  • products_status accepts only 0 or 1 (including "0"/"1" and true/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 reports READONLY_VALUE; an invalid value reports INVALID_FIELD_VALUE; neither is written, but the rest of the record is. New: records[].products_status.
  • products_xoport accepts 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 lock bonus is observed. Response records[].bonus_free_features: written, unchanged, removed, or blocked.
  • An image entry marked “no main image” from older exports (images_id 0, empty images_file) is ignored; the saved main image remains. It can still be removed with "products_image": "".
  • Import lock cost for the purchase price. Check api_version first: Older shops do not save the type, and up to version 2.122.8, a list containing only cost removes the existing locks.
Changed in v2.122.11:
  • bundle is processed: previously, a submitted bundle was skipped as UNKNOWN_FIELD. Now it changes the bundle, and an invalid bundle makes the entire record fail (INVALID_BUNDLE). See Bundles.
  • marketplaces[] writes the marketplace switches per channel; previously, the key was UNKNOWN_FIELD. A returned export with ?marketplaces=1 also 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 (alias price), 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_id or customers_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 empty customers_prices: [], all customer prices for the product are removed.
  • Insert defaults: If customers_price is 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".
Round-Trip: The product export has always included 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.

FieldTypeDescription
storages_id (Required)intID of the additional warehouse from the storages table (name in storages_info; maintained in the backend under Products → Warehouse Management). Alias: warehouse_id.
products_quantitydecimal(16,8)Stock in this warehouse.
products_safe_quantitydecimal(16,8)Safety stock for this warehouse.
products_reorder_leveldecimal(16,8)Reorder point for this warehouse.
products_storage_textvarchar(50)Storage location as free text, max. 50 characters. Is not automatically truncated.
options_idint, Default 0Characteristic/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 using REPLACE—omitted columns were set to 0.
  • 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_replace and 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.
  • null is not “unchanged”: A field with the value null is considered passed and writes 0. 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_quantity and products_safe_quantity — otherwise, the database server may reject the record depending on the configuration without the response reporting an error.
  • options_id: Default 0. 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 as 50.
  • Prerequisite EXTENDED_STORAGE_SYSTEM = 'true': If the extended warehouse system is deactivated, storages is completely ignored; the response contains the warning STORAGE_SYSTEM_DISABLED.
  • Unknown or inactive warehouse: A storages_id that does not exist or whose warehouse is inactive triggers the warning STORAGE_NOT_FOUND; the entry is skipped, and the remaining entries continue to be processed.
  • Caution—missing storages_id is silently discarded: Entries without storages_id/warehouse_id or with a value of ≤ 0 are skipped without a warning. The import then reports success, even though no inventory was written.
The main warehouse is not an entry in 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.
Round-Trip: Starting with v2.63.0, the JSON export includes 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 } ] } } ] }
bundleEffect
Key missingBundle 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 itemsOnly 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

FieldMeaning
bundle_statusBundle active; a new bundle starts with 1
bundle_category_listing, bundle_product_listing, bundle_cart_listingShow components in the category, on the product page and in the shopping cart
bundle_image_listing, bundle_options_listingShow images or attributes of the components
bundle_save_in_pieces, bundle_main_as_productComponents individually in the order, main item as a separate product
bundle_spread_status, bundle_auto_qtyPass the status on to the components, stock from the components
bundle_copy_to_slavesOn the master: settings and composition are passed on to the active variants
bundle_auto_price, bundle_auto_price_percentNot 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[])

FieldMeaning
products_id or products_modelComponent by ID (takes precedence) or item number
upridProduct 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
qtyQuantity greater than 0, empty = 1
sortOrder, empty = position in items[]
options_name and options_valueAttributes 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_idAttributes 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, removed or none. stats.bundles with processed, written, settings and removed if the batch carried bundle.
  • INVALID_BUNDLE with details[], such as item 2: NOCOMPONENT SHIRT-9, item 1: QTY 0, or SETTING bundle_cart_listing.
Notes:
  • The export turns purely numeric item numbers and a uprid without 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}]}
 ]}
FieldMeaning
marketplace_idID of the channel in this shop; it can differ from shop to shop
codeStable identifier of the channel (list below); identify the channel by this, not by its name
nameDisplay name in the language of the request
licensedChannel enabled in the shop: multichannel module booked and channel switched on
adapterfalse: the shop has no integration for this entry; a switch can be set, but nothing is transferred
statusSwitch of the “Marketplaces” tab: 1 enabled, 0 not. Writable
upload_statusTransfer 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_statusVerification status of the channel as saved (eBay, OTTO)
sync_statein_sync, pending, not_listed or not_tracked, rule below
last_updatedLast stamp of the entry, not necessarily a sync; 1970-01-01 00:00:00 = marked for sync
last_error_atPoint in time of the last error; after that, the sync pauses for one day. The message is in messages
external_id, external_linkThe offer on the channel (SellerSKU, item ID, offer ID …) and its link
asinAmazon only: the ASIN from the link
liveAlways null in Shop 4.9
messages[]Messages of the channel on the last transfer as {code, message, field}, never the raw response
sync_stateMeaning
in_syncOffer 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.
pendingOffer exists, product changed afterwards: “not current” in the product list
not_listedNo offer on the channel
not_trackedChannel 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.

The shop also sets the switch: Before the product sync, a filter switches off products (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"}]
WarningWhen
INVALID_MARKETPLACEmarketplaces is not a list, an entry is not an object, or it names no channel of this shop
INVALID_MARKETPLACE_STATUSstatus is missing or is not 0/1
MARKETPLACE_NOT_LICENSEDChannel 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 PUT with only the product identifier (products_id, products_model) and marketplaces does not change the product’s modification time; it does not appear in the ?last_modified delta. Every changed channel row gets last_updated 1970-01-01 00:00:00 and is synced on the next run of exactly this channel. With an offer, and on Mirakl also without one, it then shows sync_state pending; without an offer, it stays not_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, 1 creates an offer and 0 removes 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 submitted status 0 does 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: send status 1 again.
Business impact: A returned export writes the switches too. If it is older than a change (product editor, CSV, XML, sync), the 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.

ParameterValues
marketplace_status1 enabled, 0 not (also without a saved row)
marketplace_upload_statusdone, pending, failed, error, inactive, none (no status); comma-separated list
marketplace_sync_statein_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: pending also finds a switched-off product whose offer is still recorded. For “pending” as in the product list, therefore add marketplace_status=1 and status=1.
  • A product without a saved row for the channel counts with status 0, upload_status none and sync_state not_listed or not_tracked.
  • mirakl names no channel; the Mirakl channels have their own codes.
  • stats.total counts 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.
CaseResponse
Condition without ?marketplace=, or ?marketplace= without a conditionHTTP 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 rangeHTTP 400 FILTER_NOT_APPLICABLE

Codes

codeChannel
galaxusGalaxus
idealoIdealo
ottoOTTO
check24Check24
ebayeBay (multichannel integration)
etsyEtsy
kauflandKaufland
microspotMicrospot (older shops only, without integration)
amazonAmazon
shoeppingatShöpping.at
manor, decathlon, conrad, mediamarkt, galeria, obi, ottooffice, home24Mirakl 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"