products/{sku}/media

products/{sku}/media

post/V1/products/{sku}/media

Create new gallery entry

Request
path Parameters
sku
required
string
Request Body schema:
required
object (catalog-data-product-attribute-media-gallery-entry-interface)
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "entry": {
    }
}
Response samples
0
0

products/{sku}/media

get/V1/products/{sku}/media

Retrieve the list of gallery entries associated with given product

Request
path Parameters
sku
required
string
Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

Response samples
[
  • {
    }
]