Skip to main content
POST
/
partner
/
save
Create/update partner
curl --request POST \
  --url http://localhost/mogl/mogl-admin-dashboard/partner/save \
  --header 'Content-Type: multipart/form-data' \
  --cookie mogl_session= \
  --form 'name=<string>' \
  --form email=jsmith@example.com \
  --form 'contact_number=<string>' \
  --form 'first_name=<string>' \
  --form 'last_name=<string>' \
  --form 'job_role=<string>' \
  --form 'company_size=<string>' \
  --form 'business_category=<string>' \
  --form 'company_website=<string>' \
  --form 'status=<string>' \
  --form is_verified=123 \
  --form 'payment_via_bank=<string>' \
  --form 'payout_to=<string>' \
  --form 'allow_manual_payment=<string>' \
  --form 'payment_via_invoicing=<string>' \
  --form id=123 \
  --form 'password=<string>' \
  --form 'contact_number_old=<string>' \
  --form 'bio=<string>' \
  --form profile_photo='@example-file' \
  --form cover_photo='@example-file' \
  --form 'profile_photo_val=<string>' \
  --form 'cover_photo_val=<string>'

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.

Authorizations

mogl_session
string
cookie
required

Session-based authentication via cookies + CSRF token

Body

multipart/form-data
name
string
required
email
string<email>
required
contact_number
string
required
first_name
string
required
last_name
string
required
job_role
string
required
company_size
string
required
business_category
string
required
company_website
string
required
status
string
required

A or I

is_verified
integer
required

0 or 1

payment_via_bank
string
required

Y or N

payout_to
string
required
allow_manual_payment
string
required

Y or N

payment_via_invoicing
string
required

Y or N

id
integer

Pass for update; omit for create

password
string
contact_number_old
string
bio
string
profile_photo
file
cover_photo
file
profile_photo_val
string

Existing profile photo path when not uploading a new file

cover_photo_val
string

Existing cover photo path when not uploading a new file

Response

302

Redirect to partner list