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 same values must appear under the following names in your product data and transaction data:
Level | Product Catalog | Product Feed | Transaction Feed |
|---|---|---|---|
Product | Product ID |
| Not used |
Style | Style ID |
| Not used |
Variant (SKU) | Variant ID |
|
|
Barcode | GTIN or Ean |
|
|
Fashion Set | Set ID |
| Not used |
For the full attribute lists, see Product Attribute Model, Product Feed Attributes Reference and Transaction Feed Attributes Reference.
Note
The Product Feed and the API reference call the product level style level. It is not the same as the Style ID, which also includes the color. Put the product level into
GroupIdand the Style ID intoId.
Warning
The term Product ID means different things. In the Product Catalog, Product ID is the product level and covers all colors and sizes. In the Transaction Feed,
ProductIdis the variant level. Always send the Variant ID there.
Tracking
Tracking events carry the Style ID and the Variant ID of the product.
Level | Smart Pixel | Standalone Tracking (Legacy) |
|---|---|---|
Style |
|
|
Variant (SKU) |
|
|
Where the Variant ID Goes in Smart Pixel
The Mapp Fashion extension reads the Variant ID from one of two product parameters. The useProductIdAsIdentifier option in the extension configuration decides which one:
useProductIdAsIdentifier: true: the extension reads the Variant ID from the productid.useProductIdAsIdentifier: false(default): the extension reads the Variant ID from the productvariantparameter.
The examples in User Interaction Tracking pass the Variant ID in id. They require useProductIdAsIdentifier: true.
Recommendation Tracking
If you render recommendations yourself, Recommendation Tracking uses the identifiers returned with the recommendations, not your own product identifiers:
Returned value | Used in Recommendation Tracking as |
|---|---|
|
|
|
|
|
|
Warning
The v2 endpoints and the Smart Pixel retrieval calls only return
raw_garment_idfor recommended items ifinclude_fashion_idsis set totrue. The default isfalse. Without it, you have no value fordata-dressipi-raw-garment-idoritemId. Hosted widgets are not affected because they track interactions automatically.
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 | Recommendation |
|---|---|---|
| Style ID | Use this type unless Mapp has agreed a different one with you. |
| Variant ID | Only works if your product data contains Variant IDs. |
| 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.
A
422response usually means that the item was not found or that the identifier type or value does not match the processed product data.
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. Which identifier is returned depends on |
| The product level identifier ( |
| 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 |
| Identify the request and each set of items. Needed for Recommendation Tracking. |
For request parameters, 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.