PUT
/
profiles
curl --request PUT \
  --url https://api.live.paisr.tech/{version}/profiles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "public_name": "Acme",
  "slogan": "My example slogan",
  "about": "We are a company focussed on providing value to customers.",
  "email": "hello@acme.com",
  "phone": "412345",
  "website": "https://acme.com",
  "primary_color": "#6A66F2",
  "accent_color": "#E6E6FF",
  "target_market": [
    "B2B",
    "B2C"
  ],
  "target_audience": [
    "Local",
    "Regional"
  ]
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
The details required to update your profile.
public_name
string

Public or short business name.

Example:

"Acme"

slogan
string

Business slogan.

Example:

"My example slogan"

about
string

Detailed description about the business.

Example:

"We are a company focussed on providing value to customers."

email
string

Support email address.

Example:

"hello@acme.com"

phone
string

Support phone number.

Example:

"412345"

website
string

Full website or social url.

Example:

"https://acme.com"

primary_color
string

Brand primary color.

Example:

"#6A66F2"

accent_color
string

Brand accent color.

Example:

"#E6E6FF"

target_market
enum<string>[]

Target markets.

Available options:
B2B,
B2C,
B2G
Example:
["B2B", "B2C"]
target_audience
enum<string>[]

Target audiences.

Available options:
Local,
Regional,
Global
Example:
["Local", "Regional"]

Response

200
application/json
Successfully updated profile details.
success
boolean

Indicates if the request was successful.

message
string

A descriptive message regarding the result.