Upload Product Media
Product
Upload Product Media
/product//media
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:
| 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). |
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Product ID
Body
multipart/form-data