Skip to Content
Sub-customers

Update a sub-customer

PATCH
/partner/customers/{customerId}

Changes the fields sent; null clears a contact field. metadata replaces the stored object. A suspended customer keeps its credits; external_id cannot change.

Scope: partner.manage. Rate limit: 300 requests per minute per API key.

Authorization

apiKey partner.manage
headerAuthorizationBearer <msk_live_…>

An API key created under API keys in the panel: Authorization: Bearer msk_live_…. The key's scopes decide which operations it may call.

Scope: partner.manage

Path Parameters

customerId*string

The sub-customer's id (not its external_id).

Formatuuid

Request Body

application/json
  1. body
contact_email?|
Lengthlength <= 254
contact_name?|
Lengthlength <= 200
contact_phone?|
Lengthlength <= 40
credit_low_threshold?|

null: the provider's default.

Formatint64
Range1 <= value <= 1000000000
daily_limit?|

null removes the limit.

Formatint64
Range1 <= value <= 10000000
display_name?string
Length1 <= length <= 100
metadata?
name?string
Length1 <= length <= 200
status?PartnerCustomerStatus

active: may send; suspended: kept with its credits, but may not send.

Value in"active""suspended"
unlimited_credits?boolean

true exempts the customer from credits from its next send on; false charges its balance again. Sends in flight settle the way they were made.

Response Body

Changed

application/json
  1. response
data*
meta*
Example Request
curl -X PATCH 'https://app.messora.tech/api/v1/partner/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{  "daily_limit": 500,  "display_name": "Yıldız Mali Müşavirlik"}'
Example Response
{  "data": {    "contact_email": "mehmet@yildizmuhasebe.com.tr",    "contact_name": "Mehmet Yıldız",    "contact_phone": "+905321234567",    "created_at": "2026-12-01T09:00:00Z",    "credit_low_threshold": null,    "daily_limit": 500,    "display_name": "Yıldız Muhasebe",    "external_id": "acc-1042",    "id": "019a8c2e-4f1b-7a00-9c3d-5e7a10000001",    "metadata": {      "plan": "gold"    },    "name": "Yıldız Muhasebe Ltd. Şti.",    "status": "active",    "unlimited_credits": false,    "updated_at": "2026-12-01T09:00:00Z"  },  "meta": {    "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff"  }}