Product Media
Upsert a product image or video
Upsert a product image or video
put/unstable/product-media
Request
- Base URLhttps://api.authentified.co
- AuthAPI key in header X-Authentified-API-Key
Request body
Example request
{
"id": "765325",
"productId": "458291",
"src": "https://mydomain.com/images/product-765325.jpg",
"type": "IMAGE",
"alt": "A beautiful red dress on a model",
"width": 800,
"height": 600,
"createdAt": "2023-10-01T12:12:00Z",
"updatedAt": "2023-10-01T18:38:00Z"
}Response
Product media updated successfully
Example response
{
"id": "765325",
"productId": "458291",
"src": "https://mydomain.com/images/product-765325.jpg",
"type": "IMAGE",
"alt": "A beautiful red dress on a model",
"width": 800,
"height": 600,
"createdAt": "2023-10-01T12:12:00Z",
"updatedAt": "2023-10-01T18:38:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.