Skip to main content
POST
Save/update athlete service offering

Authorizations

Authorization
string
header
required

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

Body

application/json
category_id
integer

Service category ID

Example:

1

instruction
string

Service instructions (NOT description, required when status=A)

Example:

"Please create a short video"

amount
number<float>

Service price (NOT price, required when status=A)

Example:

50

status
string

A=active (NOT is_active boolean)

Example:

"A"

sample_video
string

Sample video (conditionally required)

Example:

"https://example.com/sample.mp4"

sample_description
string
Example:

"Sample video description"

is_requested_delete_video
string
Example:

"N"

Response

200

Service saved