Skip to main content

Endpoint

PUT https://api.thiqwave.com/v1/partners/:id

Description

Update the details of an existing sub-partner. You only need to include the fields you want to change — all body fields are optional. Fields you omit remain unchanged.

Request

Headers

X-API-Key
string
required
Your Thiqwave API key.
Content-Type
string
required
Must be application/json.

Path parameters

id
string
required
The unique identifier of the sub-partner you want to update.

Body

All body fields are optional. Include only the fields you want to update.
name
string
The updated legal business name.
email
string
The updated primary contact email address. Must be a valid email and unique across the platform.
businessType
string
The updated business type. Common values include "fintech", "marketplace", "ecommerce", and "remittance".

Example request

curl -X PUT https://api.thiqwave.com/v1/partners/prtnr_01HZ2KJ8VBNC4W3M9RFQTX6YP \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Noon Financial Services LLC",
    "email": "platform@noonfinancial.ae"
  }'

Response

A 200 OK response returns the full updated partner object.
id
string
The partner’s unique identifier.
name
string
The updated business name.
email
string
The updated contact email address.
businessType
string
The updated business type.
status
string
The partner’s current account status: "pending", "active", or "suspended".
createdAt
string
The ISO 8601 timestamp of when the partner was originally created.
updatedAt
string
The ISO 8601 timestamp of this update.

Example response

{
  "id": "prtnr_01HZ2KJ8VBNC4W3M9RFQTX6YP",
  "name": "Noon Financial Services LLC",
  "email": "platform@noonfinancial.ae",
  "businessType": "marketplace",
  "status": "active",
  "createdAt": "2026-01-20T14:15:00Z",
  "updatedAt": "2026-04-08T11:05:00Z"
}

Error responses

StatusCodeDescription
400VALIDATION_ERROROne or more fields are invalid. The response body includes a details array.
401UNAUTHORIZEDYour API key is missing or invalid.
403FORBIDDENYou do not have permission to update this partner.
404PARTNER_NOT_FOUNDNo partner exists with the given ID.
409DUPLICATE_EMAILThe provided email is already associated with another partner.