Skip to main content
PATCH
/
api
/
v1
/
portfolios
/
{id}
/
Partial Update
curl --request PATCH \
  --url https://api.main.apexscore.ai/api/v1/portfolios/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "survey_config_confirmed": false,
  "audience_fee_language": "fees",
  "audience_interacts_with_staff": true,
  "audience_pays_directly": true,
  "audience_type_str": "customers",
  "purpose": "organization",
  "color_primary": "<string>",
  "industries": [
    "agriculture"
  ],
  "logo": "<string>"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
name
string
organization_id
string<uuid>
survey_config_confirmed
boolean
default:false
audience_fee_language
enum<string>
  • fees - fees
  • prices - prices
Available options:
fees,
prices
audience_interacts_with_staff
boolean
audience_pays_directly
boolean
audience_type_str
enum<string>
  • customers - customers
  • employees - employees
  • donors - donors
  • media - media
  • gathering 2024 lecturees - gathering 2024 lecturees
Available options:
customers,
employees,
donors,
media,
gathering 2024 lecturees
purpose
enum<string>

A value determining the intended purpose of the portfolio. Is this for yourself, or for a client?

  • organization - My Organization
  • client - Client
  • secondary_brand - Secondary Brand
Available options:
organization,
client,
secondary_brand
color_primary
string
industries
enum<string>[]

Response

200 - application/json
id
string<uuid>
required
name
string
I