Skip to main content
POST
Edit partner website and profile (full update)

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
name
string | null

Partner/brand display name

Example:

"test shakil company"

first_name
string | null

Partner first name

Example:

"Jane"

last_name
string | null

Partner last name

Example:

"Smith"

athlete
string | null

Athlete field (sent by frontend, not processed by backend)

DOB
string<date> | null

Date of birth (sent by frontend, not processed by backend)

Example:

"1990-01-15"

school
string | null

School (sent by frontend, not processed by backend)

Example:

"State University"

location
string | null

Partner location

Example:

"Karachi"

skills
string | null

Skills (sent by frontend, not processed by backend)

Example:

"Marketing, social media"

bio
string | null

Partner bio/description

Example:

"Company bio text"

business_category
integer | null

Business category ID

Example:

26

highlights
string | null

Highlights (sent by frontend, not processed by backend)

Example:

"Top partner 2024"

weight
string | null

Weight (sent by frontend, not processed by backend)

Example:

"N/A"

experience
string | null

Experience (sent by frontend, not processed by backend)

Example:

"5 years"

contactNumber
string | null

Contact phone number

Example:

"7016767465"

cover_photo

Base64 image array or existing URL string. For a single image, use a data URL prefix (data:image/png;base64,...) followed by encoded bytes.

Example:

"data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."

profile_photo

Base64 image array or existing URL string. For a single image, use a data URL prefix (data:image/png;base64,...) followed by encoded bytes.

Example:

"data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."

team_photo_profile
string | null

Team profile photo (sent by frontend, not processed by backend)

Example:

"https://example.com/team-profile.jpg"

team_photo_cover
string | null

Team cover photo (sent by frontend, not processed by backend)

Example:

"https://example.com/team-cover.jpg"

facebook
string | null

Facebook URL (sent by frontend, not processed by backend)

Example:

"https://facebook.com/example"

company_website
string | null

Company website URL

Example:

"https://dev-app.mogl.online/register/partner/company-website"

height
string | null

Height (sent by frontend, not processed by backend)

Example:

"6 ft"

team_name
string | null

Team name (sent by frontend, not processed by backend)

Example:

"Marketing Team"

team_member_color
string | null

Team member color (sent by frontend, not processed by backend)

Example:

"#2d9cdb"

team_athlete_name
string[] | null

Team athlete names (sent by frontend, not processed by backend)

Example:
company_size
string | null

Company size

Example:

"51-200"

job_role
string | null

Job role/title

Example:

"Brand Manager"

Response

200

Website/profile updated