fastmon Docs
Partners

Update Client

Report an issue

Change what this partner covers for one client, within its contract.

Direct membership of the partner org is required, as on the other partner routes. A field left out keeps its value.

Authorization

bearerAuth
headerAuthorizationBearer <token>

API token generated from the fastmon dashboard (Account → API Token) or at organization level (fmo_…, one that outlives its creator). Send as Authorization: Bearer fm_... or paste the full token (including its prefix) into the Authorize dialog.

Path Parameters

org_id*Org Id
Formatuuid
client_org_id*Client Org Id
Formatuuid

Request Body

application/json
  1. body

Change what a partner covers for one client. A field left out keeps its value.

covered_features?array<>|

The features this partner covers for the client, within its contract.

included_pageviews?|

The pageviews per month this partner covers for the client, within its contract. null for unlimited, allowed only while the contract is unlimited.

Response Body

Successful Response

application/json
  1. response

A partner-client relationship.

id*Id
Formatuuid
partner_org_id*Partner Org Id
Formatuuid
client_org_id*Client Org Id
Formatuuid
client_org_name*Client Org Name
billing*Billing

Whether this partner pays for the client: it covers a feature or pageviews.

covered_features*array<>

The features this partner covers for the client, capped by its contract.

included_pageviews?Included Pageviews

The pageviews per month this partner covers for the client, capped by its contract. Absent where unlimited.

created_at*Created At
Formatdate-time
PATCH
/organizations/{org_id}/partner/clients/{client_org_id}
curl -X PATCH 'https://api.fastmon.eu/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/partner/clients/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "partner_org_id": "6d083317-c55a-4f41-82ae-8c86d8187f47",  "client_org_id": "9aa3dfe7-3f4d-43e2-a858-0015d7ac15be",  "client_org_name": "string",  "billing": true,  "covered_features": [    "checkout"  ],  "included_pageviews": 0,  "created_at": "2019-08-24T14:15:22Z"}