API referenceMediaObject
Downloads an image of an order's content.
Images in order content are <img src="https://<API host>/api/media_objects/{id}">: the full URL of this route. The file is served without authentication.
GET
/api/media_objects/{id}curl -X GET "/api/media_objects/{id}" \
-H "apikey: $MEDIALISTER_CLIENT_API_KEY"Authorization
apikeystringheaderrequiredValue for the apikey header parameter.
Parameters
idstringpathrequiredMediaObject identifier
Response
application/ld+json
MediaObject resource
@contextone of@idstringrequired@typestringrequiredcontentUrlstring | nullfilePathstring
{
"@context": "string",
"@id": "string",
"@type": "string",
"contentUrl": "string",
"filePath": "string"
}