> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hightouch.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PAR Retail Stuzo Open Commerce

> Stuzo helps Convenience & Fuel Retailers Know and Activate more customers and data in real-time, leading to more visits, more gallons, and bigger baskets.

## Supported syncing

| Type | Description | Supported Sync Modes |
| - | - | - |
| **Segments** | Sync data from any source to PAR Retail segments | Add, Remove |
| **Events** | Sync data from any source to track loyalty points in PAR Retail | Insert |

For more information about sync modes, refer to the [sync modes](https://docs.hightouch.com/syncs/types-and-modes.md#sync-modes) docs.

## Connect to PAR Retail Open Commerce

Go to the [**Destinations** overview page](https://app.hightouch.com/destinations?from=docs) and click the **Add destination** button. Select **PAR Retail Open Commerce** and click **Continue**. You can then authenticate Hightouch to **PAR Retail Open Commerce**.

Enter the following fields into Hightouch:

* **API key**: Assigned by Open Commerce and used to identify the communicating application
* **Client ID**: Shared by Open Commerce and used to generate an auth token
* **Client secret**: Shared by Open Commerce and used to generate an auth token

## Sync configuration

Once you've set up your PAR Retail Open Commerce destination and have a [model](https://docs.hightouch.com/getting-started/concepts.md#models) to pull data from, you can set up your sync configuration to begin syncing data. Go to the [**Syncs** overview page](https://app.hightouch.com/syncs?from=docs) and click the **Add sync** button to begin. Then, select the relevant model and the PAR Retail Open Commerce destination you want to sync to.

### Syncing segments

Sync data from any source to PAR Retail Open Commerce segments

#### Record matching

To match rows from your model to segments in PAR Retail Open Commerce, you need to select the model column that contains values that match the **Membership UUID** field.
Refer to the [record matching docs](https://docs.hightouch.com/syncs/record-matching.md) for more information.

#### Field mapping

Hightouch lets you sync segment fields via [field mapping](https://docs.hightouch.com/syncs/mapping-data.md).
You can map data from any of your model columns to the default segment fields.
Ensure your model's columns have the same data types as the fields you want to sync to.

#### Split retries

PAR Retail Open Commerce counts all segments in a batch as rejected if the request contains a single invalid segment. To pinpoint which segments are getting rejected with which errors and reduce the number of valid segments that get retried, you can enable [split retries](https://docs.hightouch.com/syncs/retries.md#split-retries).

### Syncing events

Sync data from any source to track loyalty points in PAR Retail Open Commerce

> [!WARNING]
>
> To ensure syncs send each event, your event model must use a truly unique [primary key](https://docs.hightouch.com/getting-started/concepts.md#unique-primary-key-requirement). See the [events syncs](https://docs.hightouch.com/syncs/types-and-modes.md#event-syncs) documentation for more information.

#### Record matching

You can match rows from your model to events in PAR Retail Open Commerce on any column in your model and any field in PAR Retail Open Commerce. Ensure the data types of the model column and PAR Retail Open Commerce field you select match.
Refer to the [record matching docs](https://docs.hightouch.com/syncs/record-matching.md) for more information.

#### Field mapping

Hightouch lets you sync event properties via field mapping.

## Tips and troubleshooting

To see the exact API requests and responses from each sync run, use the [live debugger](https://docs.hightouch.com/syncs/debugger.md). To get notified by Slack, PagerDuty, SMS, or email when a sync fails, set up [sync alerts](https://docs.hightouch.com/syncs/alerting.md). If you run into an issue this page doesn't cover, [contact support](#pylon-chat).
