Mapp Fashion links product data, tracking events, transaction data and API requests through identifiers. If an identifier does not match across these sources, events cannot be assigned to products, recommendations lose relevance, and API requests return errors or empty results.
This page shows which identifier belongs in which field.
Identifier Levels
Fashion product data is organized in three levels. The example shows a black dress in size 36.
Level | Description | Example |
|---|---|---|
Product | All variants of a product, regardless of color and size. |
|
Style | All sizes of a product in one color. This level is also called style and color. |
|
Variant (SKU) | One purchasable item, defined by style, color and size. |
|
For Mapp Fashion, the Style ID and the Variant ID are the key identifiers. API requests use the Style ID by default. Tracking and transaction data identify the viewed or purchased item by its Variant ID.
Product Data
The identifiers come from your Product Catalog. Use the same values in tracking, in the Transaction Feed and in API requests.
Identifier | Product Catalog attribute | Transaction Feed column |
|---|---|---|
Product ID |
| Not used |
Style ID |
| Not used |
Variant ID (SKU) |
|
|
Barcode (GTIN or EAN) |
|
|
Set ID |
| Not used |
For all attributes, see Product Attribute Model and Transaction Feed Attributes Reference.
Warning
In the Transaction Feed, the column
ProductIdcontains the Variant ID of the purchased item, not the Product ID.
Tracking
Tracking events carry the Style ID and the Variant ID of the product.
Level | Smart Pixel | Standalone Tracking (Legacy) |
|---|---|---|
Style |
|
|
Variant (SKU) |
|
|
In the Smart Pixel, the product parameter id contains the Variant ID.
Recommendation Tracking
If you render recommendations yourself, track clicks on recommended items with Recommendation Tracking. It uses the identifiers from the recommendation response, not your own product identifiers. Pass them on unchanged:
Smart Pixel retrieval call | HTTP response | Used in Recommendation Tracking as |
|---|---|---|
|
|
|
|
|
|
|
|
|
Warning
Without the internal Mapp Fashion ID, clicks on recommendations are not tracked. You do not need to match this ID to your product data, only pass it on. Over HTTP, the v2 endpoints only return it as
raw_garment_idif you setinclude_fashion_ids=true. The Smart Pixel retrieval calls always return it asdressipi_item_idin the detailed format, in the simple format only withinclude_fashion_ids: true. Hosted widgets are not affected because they track interactions automatically.
Attributing purchases to recommendations in Mapp Intelligence is a separate feature. See Recommendation Tracking in Mapp Intelligence.
API Requests
Item-based API requests pass one identifier in id. The identifier_type parameter defines how Mapp Fashion interprets it. Identifiers in excluded_ids must be of the same type.
identifier_type | Matches | Note |
|---|---|---|
| Style ID | Default. |
| Variant ID | Works on all endpoints. |
| Barcode, for example EAN-13 or UPC | Only works if barcodes are included in your product data. |
| Internal Mapp Fashion ID ( | Called |
The following rules apply:
Not every identifier type is available in every integration. It depends on what your product data contains and how it is processed.
Identifiers must match completely. There is no fallback for partial matches.
Identifier values must be sent exactly as they appear in your product data.
In v2,
outfitsandpartner_outfitsreturn422if the item inidcannot be found.similarreturns fallback recommendations instead, so if the results look unrelated, check the identifier.basketignores identifiers inidsthat cannot be found.
To check whether Mapp Fashion knows an identifier, request Get information about an item by id with the same identifier_type. This is a v1 endpoint, so send fashion-id as dressipi-id there.
Identifiers in API Responses
Field | Content |
|---|---|
| The identifier of the item from your product data. It has the same type as the identifiers in the request ( |
| The product level identifier, Product ID in your Product Catalog. Only returned if your product data contains it. |
| An alternative product code. Only returned if it is included in your product data. |
| The internal Mapp Fashion ID. For recommended items, v2 only returns it with |
| The Variant IDs of each recommended item that are in stock, keyed by |
| Identify the request and each set of items. Needed for Recommendation Tracking. |
Warning
product_id,ancillary_product_codeandavailable_skusare only correct if Product ID, Style ID and Variant ID in your Product Catalog are filled at the right level, see Identifier Levels above.available_skusalso requires that your products have their real product images from the first import on. If products were imported with placeholder images or dummy URLs,available_skuscan contain Variant IDs of other products.
For request parameters and response formats, see Recommendation Items and the Mapp Fashion API.
Customer and Order Identifiers
Purchases are linked to shoppers through customer and order identifiers. Use the same values in tracking and in the Transaction Feed.
Identifier | Smart Pixel | Transaction Feed |
|---|---|---|
Customer ID |
|
|
Customer email |
| Not used |
Order ID |
|
|
Use a stable customer ID, such as a database ID. An opaque identifier is preferred over a hashed email address.
If
CustomerIdcontains a hashed email address, document how the hash is generated, for example lowercase followed by SHA-256.OrderIdmust match the order number sent with the order confirmation tracking.