Developer
PUT /merchants/{id}

Update a merchant

Merchant Vouchers

Description

Update an existing merchant business.

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

Users can only update their own merchant businesses.

Parameters

id integer path required
Merchant ID

Request Body

required

application/json

Responses

200 Merchant updated successfully
application/json
statusstring
Example: success
messagestring
Example: Merchant updated successfully
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"
}
422 Validation error
application/json
Example:
{
  "status": "error",
  "message": "Failed to update merchant",
  "errors": [
    {
      "path": "activity_types",
      "message": "Invalid > Type is not a valid activity type"
    }
  ]
}