---
schema_version: "1"
id: 37ae47504c0983e17aa64168f49367f8c3e935b02a5fab65a0edec91f1a9e3a0
title: Map Restaurant Product Details With Loyalty Management
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries-integrations/loyalty/guides/map-restro-prod-details.md
canonical_url: https://developer.salesforce.com/docs/industries/loyalty/guide/map-restro-prod-details.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: b558a5006daebd1d7e2f7da2da22678849c2b06a5bc5b5c5ffb6cea133510c7b
products:
  - Loyalty Management Integrations API
  - Industries Integrations
---
# Map Restaurant Product Details With Loyalty Management

Map the restaurant’s product details with Loyalty Management to ensure that transaction journals contain the correct product details when you create an order. Create or update the fields in the Loyalty Management objects to map with the fields in the restaurant POS app. If you have additional data in your restaurant POS app, you can map additional fields. It’s recommended that you use the Batch Processing method in Mulesoft, and perform these steps in a transaction. For example, in a sequence of object insertions, if any object insertion fails, roll back the remaining object insertions even if the insertions are successful.

- Create these fields in the product2 object to map with the restaurant POS app fields.
  | product2 Fields | Description in Restaurant POS |
  | --------------- | ------------------------------------------------------------------------ |
  | Description | The description of the menu item. |
  | DisplayUrl | The image or picture URL of the menu item. |
  | ExternalId | The unique identifier of the menu item or product. |
  | IsActive | Determines if the menu item is active. The default value is `true`. |
  | IsArchived | Determines if the menu item is archived. The default value is false. |
  | IsDeleted | Determines if the menu item is deleted. The default value is `false`. |
  | IsSerialized | Determines if the menu item is serialized. The default value is `false`. |
  | Name | The name of the menu item. |
  | ProductCode | The code or unique identifier related to the menu item. |
- Create these fields in the productCategory object to store the menu category or menu group.
  | product2 Fields | Description in Restaurant POS |
  | --------------- | ------------------------------------------------------------------------ |
  | ExternalCategoryId\_\_c | The unique identifier of menu group or menu category. |
  | Name | The name of the menu group or menu category. |
  | Description | The description of the menu group or menu category. |
  | ExternalId | The unique identifier of the menu item or product. |
  | IsActive | Determines if the menu item is active. The default value is `true`. |
- Update the productCategoryProduct object to link the product to category.
  | product2 Fields | Description in Restaurant POS |
  | --------------- | ------------------------------------------------------------------------ |
  | ProductCategoryId | The description of the menu item. |
  | ProductId | ID field value from productCategory object insertion. |
  | ExternalId | ID field value from product2 object insertion. | |
- Log any errors in the `{namespace}__LoyaltyOrderPlacementError__c` object.

**See Also**

[Batch Processing](https://docs.mulesoft.com/mule-runtime/latest/batch-processing-concept)
[Handling Errors During Batch Job](https://docs.mulesoft.com/mule-runtime/latest/batch-error-handling-faq)
