Media
Return information about gallery entry
Path parameters
skustringRequiredExample:
(Required)
<string>entryIdstringRequiredExample:
(Required)
<integer>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
/V1/products/{sku}/media/{entryId}Update gallery entry
Path parameters
skustringRequiredExample:
(Required)
<string>entryIdstringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"entry":{"media_type":"<string>","label":"<string>","position":"<integer>","disabled":"<boolean>","types":["<string>","<string>"],"id":"<integer>","file":"<string>","content":{"base64_encoded_data":"<string>","type":"<string>","name":"<string>"},"extension_attributes":{"video_content":{"media_type":{"value":"<Error: Too many levels of nesting to fake this schema>"},"video_provider":{"value":"<Error: Too many levels of nesting to fake this schema>"},"video_url":{"value":"<Error: Too many levels of nesting to fake this schema>"},"video_title":{"value":"<Error: Too many levels of nesting to fake this schema>"},"video_description":{"value":"<Error: Too many levels of nesting to fake this schema>"},"video_metadata":{"value":"<Error: Too many levels of nesting to fake this schema>"}}}}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
/V1/products/{sku}/media/{entryId}Remove gallery entry
Path parameters
skustringRequiredExample:
(Required)
<string>entryIdstringRequiredExample:
(Required)
<integer>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
delete
/V1/products/{sku}/media/{entryId}Retrieve the list of gallery entries associated with given product
Path parameters
skustringRequiredExample:
(Required)
<string>Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
/V1/products/{sku}/mediaCreate new gallery entry
Path parameters
skustringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"entry":{"media_type":"<string>","label":"<string>","position":"<integer>","disabled":"<boolean>","types":["<string>","<string>"],"id":"<integer>","file":"<string>","content":{"base64_encoded_data":"<string>","type":"<string>","name":"<string>"},"extension_attributes":{"video_content":{"media_type":{"value":"<Error: Too many levels of nesting to fake this schema>"},"video_provider":{"value":"<Error: Too many levels of nesting to fake this schema>"},"video_url":{"value":"<Error: Too many levels of nesting to fake this schema>"},"video_title":{"value":"<Error: Too many levels of nesting to fake this schema>"},"video_description":{"value":"<Error: Too many levels of nesting to fake this schema>"},"video_metadata":{"value":"<Error: Too many levels of nesting to fake this schema>"}}}}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
/V1/products/{sku}/media