curl --request POST \
--url http://localhost/mogl/mogl-backend/api/editPartnerWebsite \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "test shakil company",
"first_name": "Jane",
"last_name": "Smith",
"athlete": "<string>",
"DOB": "1990-01-15",
"school": "State University",
"location": "Karachi",
"skills": "Marketing, social media",
"bio": "Company bio text",
"business_category": 26,
"highlights": "Top partner 2024",
"weight": "N/A",
"experience": "5 years",
"contactNumber": "7016767465",
"cover_photo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...",
"profile_photo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...",
"team_photo_profile": "https://example.com/team-profile.jpg",
"team_photo_cover": "https://example.com/team-cover.jpg",
"facebook": "https://facebook.com/example",
"company_website": "https://dev-app.mogl.online/register/partner/company-website",
"height": "6 ft",
"team_name": "Marketing Team",
"team_member_color": "#2d9cdb",
"team_athlete_name": [],
"company_size": "51-200",
"job_role": "Brand Manager"
}
'Comprehensive partner profile update including profile photo, cover image, website, social links, contact info, and business details. Profile photo can be a Base64 image or existing URL.
curl --request POST \
--url http://localhost/mogl/mogl-backend/api/editPartnerWebsite \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "test shakil company",
"first_name": "Jane",
"last_name": "Smith",
"athlete": "<string>",
"DOB": "1990-01-15",
"school": "State University",
"location": "Karachi",
"skills": "Marketing, social media",
"bio": "Company bio text",
"business_category": 26,
"highlights": "Top partner 2024",
"weight": "N/A",
"experience": "5 years",
"contactNumber": "7016767465",
"cover_photo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...",
"profile_photo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...",
"team_photo_profile": "https://example.com/team-profile.jpg",
"team_photo_cover": "https://example.com/team-cover.jpg",
"facebook": "https://facebook.com/example",
"company_website": "https://dev-app.mogl.online/register/partner/company-website",
"height": "6 ft",
"team_name": "Marketing Team",
"team_member_color": "#2d9cdb",
"team_athlete_name": [],
"company_size": "51-200",
"job_role": "Brand Manager"
}
'Documentation Index
Fetch the complete documentation index at: https://developer.mogl.online/llms.txt
Use this file to discover all available pages before exploring further.
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Partner/brand display name
"test shakil company"
Partner first name
"Jane"
Partner last name
"Smith"
Athlete field (sent by frontend, not processed by backend)
Date of birth (sent by frontend, not processed by backend)
"1990-01-15"
School (sent by frontend, not processed by backend)
"State University"
Partner location
"Karachi"
Skills (sent by frontend, not processed by backend)
"Marketing, social media"
Partner bio/description
"Company bio text"
Business category ID
26
Highlights (sent by frontend, not processed by backend)
"Top partner 2024"
Weight (sent by frontend, not processed by backend)
"N/A"
Experience (sent by frontend, not processed by backend)
"5 years"
Contact phone number
"7016767465"
Base64 image array or existing URL string. For a single image, use a data URL prefix (data:image/png;base64,...) followed by encoded bytes.
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."
Base64 image array or existing URL string. For a single image, use a data URL prefix (data:image/png;base64,...) followed by encoded bytes.
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."
Team profile photo (sent by frontend, not processed by backend)
"https://example.com/team-profile.jpg"
Team cover photo (sent by frontend, not processed by backend)
"https://example.com/team-cover.jpg"
Facebook URL (sent by frontend, not processed by backend)
"https://facebook.com/example"
Company website URL
"https://dev-app.mogl.online/register/partner/company-website"
Height (sent by frontend, not processed by backend)
"6 ft"
Team name (sent by frontend, not processed by backend)
"Marketing Team"
Team member color (sent by frontend, not processed by backend)
"#2d9cdb"
Team athlete names (sent by frontend, not processed by backend)
[]Company size
"51-200"
Job role/title
"Brand Manager"
Website/profile updated