GET /merchants/{id}

Get merchant by ID

Merchants

Description

Retrieve detailed information about a specific merchant business.

Authentication Required: User must be authenticated and have the 'merchant' feature flag.

Users can only view their own merchant businesses.

Parameters

id integer path required
Merchant ID

Responses

200 Successful response
application/json
statusstring
Example: success
dataobject
401 Authentication required
application/json
Example:
{
  "status": "error",
  "message": "Not authenticated or insufficient permissions"
}
404 Merchant not found
application/json
Example:
{
  "status": "error",
  "message": "Merchant not found"
}