The
/product/{id}/media
endpoint allows uploading media files associated with a specific product.
Method:POST
Path Parameter:
Parameter | Type | Description |
---|---|---|
id | string | The unique identifier of the product. |
Parameter | Type | Description |
---|---|---|
file | file | The media file to upload. |
mediaType | string | The type of media (e.g., artwork, video, audio). |
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Path Parameters
Parameter | Type | In | Required | Description |
---|---|---|---|---|
id | string | path | ā | Product ID |
Request Body
Responses
ā 201 - Success
ā ļø 401 - Unauthorized
ā ļø 404 - Not Found
ā 500 - Internal Server Error
Tags
Product
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Product ID
Body
multipart/form-data