put
https://demo-api.edfapay.com/api/v1/merchant
Update exist Merchant, ACCESS LEVEL: SUPER_ADMIN, PARTNER, MERCHANT
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Update an existing merchant.
Endpoint
PUT https://demo-api.edfapay.com/api/v1/merchant
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| id | UUID | Yes | Merchant ID |
| name | String | No | Name |
| nameAR | String | No | Arabic name |
| emailAddress | String | No | |
| registeredMobileNumber | String | No | Phone |
| businessCategoryId | UUID | No | Category |
| country | String | No | Country |
| city | String | No | City |
| currencyCode | String | No | Currency |
| active | Boolean | No | Status |
Response Body
| Field | Type | Description |
|---|---|---|
| code | Integer | Status |
| message | String | Message |
| data.id | UUID | Merchant ID |
| data.name | String | Name |
| data.emailAddress | String | |
| data.active | Boolean | Status |
Response Example
{
"code": 200,
"message": "Success",
"data": {
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Updated Merchant",
"emailAddress": "[email protected]",
"active": true
}
}