Skip to main content
POST
Upload Product Media
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

/product//media Description: The /product/{id}/media endpoint allows uploading media files associated with a specific product. Method: POST Path Parameter: Request Payload:

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

Product ID

Body

multipart/form-data
file
file
required

The media file to upload

mediaType
string
required

The type of media (e.g., artwork, video, audio)

Response

Success

message
string
mediaUrl
string