Skip to main content

Available Data Fields

This page lists all data fields available in the connector. These fields can be used as primary field or fallback in the OCI and cXML configuration.

The Protocols column shows in which context the respective field is available.


Context​

Fields that relate to the general session context (sales channel, language, currency).

Data fieldDescriptionProtocols
currencyIsoCodeISO currency code of the currency active in the context (e.g. EUR)OCI, cXML
languageShortCodeLanguage short code of the sales channel (e.g. de-DE)cXML

Line Item​

Fields that relate to an individual cart line item.

Data fieldDescriptionProtocols
lineItemQuantityOrdered quantity of the line itemOCI, cXML
lineItemReferenceReference ID of the cart line itemOCI, cXML
lineItemTotalPriceTotal price of the line item (quantity × unit price)OCI, cXML
lineItemUnitPriceUnit price of the line itemOCI, cXML
lineItemPayloadFieldReads a value from the cart line item's payload via a configurable extra key — provide the payload key in the configuratorOCI, cXML

Product​

Fields that return master data of the product.

Data fieldDescriptionProtocols
productIdInternal Shopware product IDOCI, cXML
productNameProduct name (language-dependent)OCI, cXML
productTranslatedNameTranslated product nameOCI, cXML
productDescriptionProduct description (HTML)OCI, cXML
productTranslatedDescriptionTranslated product descriptionOCI, cXML
productNumberArticle number (SKU)OCI, cXML
productEanEAN / GTINOCI, cXML
productWeightWeight (in kilograms)OCI, cXML
productWidthWidthOCI, cXML
productHeightHeightOCI, cXML
productLengthLengthOCI, cXML
productTaxRateTax rate in percentOCI, cXML
productPurchaseUnitPurchase unitOCI, cXML
productPackingUnitPacking unitOCI, cXML
productPackingUnitPluralPacking unit (plural)OCI, cXML
productSystemUnitUnit of measure of the product, resolved from the unit mapping configured on the connector system (OCI/cXML units)OCI, cXML
productManufacturerNameManufacturer nameOCI, cXML
productManufacturerTranslatedNameTranslated manufacturer nameOCI, cXML
productManufacturerNumberManufacturer article number (MPN)OCI, cXML

Connector Custom Fields (Product)​

These fields read connector-specific custom fields from the product.

Data fieldDescriptionCustom field keyProtocols
productOciEClasseCl@ss classification numberagiqon_oci_e_classOCI, cXML
productOciMePacking unit (OCI-specific)agiqon_oci_meOCI, cXML
productUnspscUNSPSC commodity codeagiqon_connector_unspscOCI, cXML

Shopware Custom Fields (Product)​

Data fieldDescriptionProtocols
productCustomFieldAny Shopware custom field on the product — provide the technical field name in the configuratorOCI, cXML

Customized Product​

Fields for products configured with the Customized Products plugin. These fields return no value for standard products.

Data fieldDescriptionProtocols
customizedProductLabelsAll option labels of the customized product, joined with | (e.g. First name|Last name)OCI, cXML
customizedProductOptionsAll option values of the customized product in the format Label: Value, joined with newlineOCI, cXML

Cart​

Fields that relate to the cart as a whole, not to an individual line item.

Data fieldDescriptionProtocols
cartTaxAmountSum of the calculated taxes of the cartOCI, cXML

Shipping​

Fields for the shipping line item. These fields are only available when Append shipping is enabled in the connector configuration.

Data fieldDescriptionProtocols
shippingNameName from the shipping method extension, falling back to the name of the shipping method (see Shipping Methods)OCI, cXML
shippingMethodTranslatedNameTranslated name of the shipping method — deliberately ignores the shipping method extensionOCI, cXML
shippingNumberShipping number — configurable per shipping method (see Shipping Methods)OCI, cXML
shippingInternArticleNumberInternal article number of the shipping methodOCI, cXML
shippingCostsTotalPriceTotal amount of the shipping costs (gross)OCI, cXML
shippingCostsNetPriceNet amount of the shipping costsOCI, cXML
shippingCostsTaxAmountTax amount of the shipping costsOCI, cXML
shippingCostsTaxRateTax rate of the shipping costs in percent (calculated from tax amount and total price)OCI, cXML
note

shippingName and shippingMethodTranslatedName can be combined as primary field and fallback: shippingName prefers the name maintained in the shipping method extension, shippingMethodTranslatedName always returns the translated Shopware name.


System​

Fields that return values from the connector system configuration of the respective sales channel.

Data fieldDescriptionProtocols
systemDefaultUnitDefault unit of measure from the connector configurationOCI, cXML
systemTechnicalNameTechnical name of the connector systemOCI, cXML

Transmission​

Fields that return information about the current transmission session.

Data fieldDescriptionProtocols
sessionTransmissionIdUnique ID of the current transmission sessionOCI, cXML
transmissionAdditionalDataFieldReads a value from the transmission's additional-fields payload via a configurable extra key — provide the additional data key in the configuratorOCI, cXML