Skip to main content

Find Loyalty Level

API operation: Open the endpoint in Scalar

Use GET /loyalty_levels/{loyalty_level_id} to retrieve one loyalty level. The operation is LoyaltyLevel.find.

Unlike the public collection read, the detail operation requires administrator authentication. The response describes the threshold, accumulation, benefits, expiration, and presentation settings for the selected level.

See Loyalty levels model for the resource concepts.

OpenAPI reference​

Operation: GET /loyalty_levels/{loyalty_level_id}

Path parameters

NameTypeRequiredDescription
loyalty_level_idintegerYes—

Query parameters

NameTypeRequiredDescription
paramsstringNoComma-separated list of fields. It is intersected with the model’s $fillable; an empty or invalid list returns all fields.

Responses

CodeDescription
200OK
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference