API reference
UpdatePartnerTrust
Mark a partner trusted or untrusted. Write access, partners toolset, MCP tool update_partner_trust. Part of the MISSIN public API: call it with an API key, or…
Access: Write
Variables
| Variable | Type | Required | Accepts | Description |
|---|---|---|---|---|
body | JSON! | yes | Object, fields below | Any subset of the writable columns, in snake_case column names. |
partnerId | UUID! | yes |
Input types
body
| Field | Type | Required | Accepts | Description |
|---|---|---|---|---|
name | string | no | 1 to 120 characters | |
username | string | no | 1 to 80 characters | |
email | string (email) or null | no | at most 254 characters, format email | |
profile_image | string (uri) or null | no | format uri | |
trusted | boolean | no | ||
budget | number or null | no | 0 to 9999999999.99 | |
end_date | any or null | no | ||
status | string | no | One of ACTIVE, PAUSED, ARCHIVED, DROPPED, PENDING | |
utm_source | string or null | no | at most 120 characters | |
utm_medium | string or null | no | at most 120 characters | |
utm_content | string or null | no | at most 120 characters |
Call it
bash
curl https://api.missin.co.uk/graphql/v1 \
-H "Authorization: Bearer $MISSIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"operationName":"UpdatePartnerTrust","variables":{"body":{"trusted":true},"partnerId":"00000000-0000-0000-0000-000000000000"},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"59a206716506cde585370ecf6a1d8d940daff607d08a0b90dedd28f6b7635ea8"}}}'Document
graphql
mutation UpdatePartnerTrust($body: JSON!, $partnerId: UUID!) { __typename updatePartner(input: {partnerId: $partnerId, body: $body}) { __typename partner { __typename id trusted } userErrors { __typename code field message } } }