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
requiredapplication/json
Responses
200
Merchant updated successfully
application/jsonstatusstring
Example:
successmessagestring
Example:
Merchant updated successfullydataobject
401
Authentication required
application/jsonExample:
{
"status": "error",
"message": "Not authenticated or insufficient permissions"
}
404
Merchant not found
application/jsonExample:
{
"status": "error",
"message": "Merchant not found"
}
422
Validation error
application/jsonExample:
{
"status": "error",
"message": "Failed to update merchant",
"errors": [
{
"path": "activity_types",
"message": "Invalid > Type is not a valid activity type"
}
]
}