Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
"sponsors": [
{
"id": 269,
"company_name": "27.07 14.59 TEST COMPANY for SPONSOR",
"contact_name": "John Smith",
"email": "john.sm123456@email.com",
"phone": "+88 777-222-333",
"campaign_id": 363,
"amount": 0.0,
"logo_s3_key": "0023994DF41808A6AE5E1C8B11ABFFAE.png"
},...
]
}
Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
"success": true
}
| Param name | Description |
|---|---|
|
id
required |
Validations:
|
|
sponsors
required |
Validations:
|
|
sponsors[company_name]
required |
Validations:
|
|
sponsors[contact_name]
optional |
Validations:
|
|
sponsors[email]
optional |
Validations:
|
|
sponsors[phone]
optional |
Validations:
|
|
sponsors[amount]
optional |
Validations:
|
|
sponsors[logo_s3_key]
optional |
Validations:
|