PATCH
/
api
/
v1
/
merchants
/
{tenant_id}
/
Update a merchant information as a customer support agent
curl --request PATCH \
  --url https://dev.superpool.unyte.africa/api/v1/merchants/{tenant_id}/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "business_email": "jsmith@example.com",
  "support_email": "jsmith@example.com",
  "tax_identification_number": "<string>",
  "registration_number": "<string>",
  "address": "<string>"
}'
{
  "name": "<string>",
  "business_email": "jsmith@example.com",
  "support_email": "jsmith@example.com",
  "tax_identification_number": "<string>",
  "registration_number": "<string>",
  "address": "<string>"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

tenant_id
string<uuid>
required

Body

Serializer for updating core information of a Merchant.

This serializer handles the validation and serialization of the data required to update the core details of a Merchant. It is used in the API endpoint that allows customer support to update merchant information.

Supported Fields: - name: Business name of the merchant. - business_email: Email address used for business communications. - support_email: Contact email address for support inquiries. - tax_identification_number: Unique tax identification number issued by tax authorities. - registration_number: Government-issued registration number with the corporate affairs commission. - address: Physical address of the merchant's business.

Response

200
application/json

Successful response with updated merchant information.

Serializer for updating core information of a Merchant.

This serializer handles the validation and serialization of the data required to update the core details of a Merchant. It is used in the API endpoint that allows customer support to update merchant information.

Supported Fields: - name: Business name of the merchant. - business_email: Email address used for business communications. - support_email: Contact email address for support inquiries. - tax_identification_number: Unique tax identification number issued by tax authorities. - registration_number: Government-issued registration number with the corporate affairs commission. - address: Physical address of the merchant's business.