PERS icon

PERS

Interact with the PERS Loyalty API

Actions14

Business → Get

AI-generated

Summary

Retrieves a single business from the PERS Loyalty API by its ID, using a GET request to /businesses/{businessId}.

Inputs

  • Business ID (required) — UUID of the business to retrieve (e.g., 14f2699c-12b1-4cf9-abad-12da4f985517). It is inserted into the request URL. No request body is sent.

Output shape

One output item per input item. Its json is the business record exactly as the PERS API returns it.

The source doesn't define the response fields, so they depend on the PERS API. Each output is paired to its input item. If a request fails and Continue On Fail is enabled, that item returns json with an error message. Otherwise the node throws. The node uses the persApi credential, and the credential's environment value is the base URL.

Examples

Example 1: Look up a business's details using an ID from an earlier step, such as a Create Business result.

Resource: Business; Operation: Get; Business ID: ={{ $json.id }}

Example 2: Fetch a known business by a fixed ID.

Resource: Business; Operation: Get; Business ID: 14f2699c-12b1-4cf9-abad-12da4f985517

Links

Discussion