Media

catalog Product Attribute Media Gallery Management V1Get Get

get

Return information about gallery entry

Path parameters
skustringRequired

(Required)

Example: <string>
entryIdstringRequired

(Required)

Example: <integer>
Responses
200

OK

application/json
Responseobject
get
/V1/products/{sku}/media/{entryId}

catalog Product Attribute Media Gallery Management V1Update Put

put

Update gallery entry

Path parameters
skustringRequired

(Required)

Example: <string>
entryIdstringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
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
put
/V1/products/{sku}/media/{entryId}

catalog Product Attribute Media Gallery Management V1Remove Delete

delete

Remove gallery entry

Path parameters
skustringRequired

(Required)

Example: <string>
entryIdstringRequired

(Required)

Example: <integer>
Responses
200

OK

application/json
Responseobject
delete
/V1/products/{sku}/media/{entryId}

catalog Product Attribute Media Gallery Management V1Get List Get

get

Retrieve the list of gallery entries associated with given product

Path parameters
skustringRequired

(Required)

Example: <string>
Responses
200

OK

application/json
Responseobject
get
/V1/products/{sku}/media

catalog Product Attribute Media Gallery Management V1Create Post

post

Create new gallery entry

Path parameters
skustringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
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
post
/V1/products/{sku}/media