How Smaregi Member Data Is Used — Fields Read and What For

Smaregi Member POS Integration Data Mapping Technical Details

When a Smaregi sale has a member attached, ReceiptRoller reads a few of that member's fields from Smaregi and uses them only to link the sale to a customer. ReceiptRoller does not import Smaregi member data into customer management, and never writes anything back to Smaregi. This article lists the fields that are read, what they are used for, and what is not read.

For a store-operator explanation of how sales are linked to customers, see Linking Smaregi and Square Sales to Customers. This article is the technical supplement to it.

Fields read and what they are used for

Smaregi (SmaregiCustomer) How ReceiptRoller uses it
customerIdThe key that identifies the Smaregi member. When a customer chooses "receive automatically from next time", this key is linked to the customer's ReceiptRoller account (PosCustomerLinkEntity). It is also kept on the transaction as ExternalIds.ProviderCustomerId.
customerCodeUsed as the key instead when a transaction has no customerId. It is not matched against member numbers in customer management.
mobileNumber or phoneNumberUsed as a clue when looking for the link. The mobile number (mobileNumber) takes priority; if it is empty, phoneNumber is used.
mailUsed as a clue when looking for the link.

These fields are read when a transaction with a member attached arrives, one member at a time for that transaction. There is no bulk import of the member master and no periodic sync.

What is not read or done

  • Importing the Smaregi member list into customer management
  • Reading any other member fields, such as name, address, date of birth, gender, member rank, or points
  • Registering or updating customers or member numbers from ReceiptRoller as Smaregi members
  • Syncing triggered by members being registered or changed in Smaregi (member webhooks are not received)

How a sale reaches a customer

  1. When you select a member at Smaregi checkout, that member is attached to the transaction.
  2. When the customer receives the receipt for that transaction in ReceiptRoller and chooses "receive automatically from next time", the Smaregi member is linked to the customer's account.
  3. From then on, when a transaction with the same member arrives, ReceiptRoller looks up the customer in customer management by the email address of the linked account, and treats the sale as that customer's only when exactly one customer is found.
  4. The sale is reflected in purchase history, visit count, and total spend, and the customer receives the receipt automatically.

Points to note

  • A transaction where no member was selected at checkout is not linked to a customer. The sale itself is recorded as usual.
  • If more than one customer in customer management has the same email address, ReceiptRoller cannot tell whose sale it is, so the sale is not linked.
  • Manage customer names and contact details in Smaregi and ReceiptRoller separately.

Related guides

Published: 2026-05-29 Updated: 2026-11-14
Related articles