Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions150

Customers → Customer Loyalty Points

AI-generated

Summary

Retrieve customer loyalty points data from Salla by specifying a customer ID and a loyalty sub-resource. Choose how response data is emitted, either as raw backend response or just the processed data payload.

Inputs

  • Sub-resource (required) — Select a sub-resource within the Customers resource category, typically 'loyalty' for loyalty points.
  • Customer Id (required) — The unique ID of the customer whose loyalty points information you want to retrieve.
  • Return Mode — Choose the format of the response: 'Data Only' returns the loyalty points data payload directly; 'Full Envelope' returns the entire backend response including status and raw data.

Output shape

a list of items representing loyalty points data for the specified customer, or a single item containing the full response envelope if 'Full Envelope' mode is selected.

The output depends on the 'Return Mode' parameter. When set to 'Data Only', multiple items may be emitted if the data is an array. Errors are thrown if required inputs are missing or invalid.

Discussion