Skip to main content
PATCH
Change what partners can do with an object's records

Authorizations

Authorization
string
header
required

API key authentication. Use "Bearer <api_key>" or "Api-Key <api_key>".

Path Parameters

key
string
required
Pattern: ^[a-z][a-z0-9_-]{0,62}$

Body

application/json
expected_schema_version
integer
required
Required range: 0 <= x <= 9007199254740991
see
boolean

Partners see the object's records in the portal. Off hides every record, linked ones included.

create
boolean

Partners cannot do this yet: only false is accepted (true returns 400 reason not_available_yet).

edit
boolean

Partners cannot do this yet: only false is accepted (true returns 400 reason not_available_yet).

delete
boolean

Partners cannot do this yet: only false is accepted (true returns 400 reason not_available_yet).

audience
enum<string>

all_partners: every partner of the company, whatever its partner type. rules: the partners the lists below name. Saving all_partners clears the lists. While see is on, a partner also sees a record linked to them through a live relationship, even outside the audience; contact tags in the lists still apply.

Available options:
all_partners,
rules
partner_types
enum<string>[]

With rules: the built-in partner types in the audience. Partners of partner types the company created are included only by all_partners or a link.

Maximum array length: 3
Available options:
referral,
reseller,
distributor
tier_uuids
string<uuid>[]

With rules: only partners on one of these tiers.

Maximum array length: 500
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
partner_tag_uuids
string<uuid>[]

With rules: only partners with one of these partner tags.

Maximum array length: 500
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
contact_tag_uuids
string<uuid>[]

With rules: only partner contacts with one of these contact tags see the records.

Maximum array length: 500
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Response

200 - application/json

Default Response

definition
object
required
partner_access
object
required