Skip to main content
POST
Add media to variant

Autorizaciones

X-API-Key
string
header
requerido

Merchant API key for authentication

Parámetros de ruta

product_id
integer
requerido

Product identifier

variant_id
integer
requerido

Variant identifier

Cuerpo

application/json
url
string
requerido

Public URL of the media file

Ejemplo:

"https://cdn.example.com/products/image.jpg"

title
string | null

Media title or alt text

Maximum string length: 250

Respuesta

Successful Response

id
integer
requerido

Unique media identifier

title
string | null

Media title

url
string | null

Media URL