API reference / Platform profile
Update the platform profile
PATCH/v1/platforms/{orgId}
Edit the profile, the customer types offered on invitations, and open enrollment.
Before you call it
- Organization
platform - Permission
settings:manage
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
Request body
| Field | What it does |
|---|---|
websitestring | No description in the spec yet. |
support_emailstring | No description in the spec yet. |
descriptionstring | No description in the spec yet. |
customer_typesenum[] | No description in the spec yet. One of |
enrollment_openboolean | No description in the spec yet. |
Response 200
Updated
| Field | What it does |
|---|---|
orgOrganizationrequired | No description in the spec yet. |
org.idstring (uuid)required | No description in the spec yet. |
org.typeenumrequired | No description in the spec yet. One of |
org.namestringrequired | No description in the spec yet. |
org.statusenumrequired | No description in the spec yet. One of |
org.status_reasonstringrequired | No description in the spec yet. |
org.daily_payout_limitstringrequired | USD |
org.single_payout_limitstringrequired | USD |
org.created_atstring (date-time)required | No description in the spec yet. |
slugstringrequired | No description in the spec yet. |
legal_namestringrequired | No description in the spec yet. |
websitestringrequired | No description in the spec yet. |
support_emailstringrequired | No description in the spec yet. |
descriptionstringrequired | No description in the spec yet. |
customer_typesstring[]required | No description in the spec yet. |
expected_customersintegerrequired | No description in the spec yet. |
expected_monthly_volumeintegerrequired | No description in the spec yet. |
enrollment_openbooleanrequired | Anyone with the enrollment link can open an account under the platform |
reviewed_atstring (date-time) | No description in the spec yet. |
created_atstring (date-time)required | No description in the spec yet. |
Errors to handle
| Code | What it means and what to do |
|---|---|
invalid_customer_types422 | customer types must be business and/or individual |
slug_taken409 | this link name is taken; choose another |
Every error is a Problem document. Branch on code; quote request_id to support.