ReDoc documentation

products/{sku}/media/{entryId}

products/{sku}/media/{entryId}

get/V1/products/{sku}/media/{entryId}

Return information about gallery entry

Request
path Parameters
entryId
required
integer
sku
required
string
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
{
  • "id": 0,
  • "media_type": "string",
  • "label": "string",
  • "position": 0,
  • "disabled": true,
  • "types": [
    ],
  • "file": "string",
  • "content": {
    },
  • "extension_attributes": {
    }
}

products/{sku}/media/{entryId}

put/V1/products/{sku}/media/{entryId}

Update gallery entry

Request
path Parameters
entryId
required
string
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
true

products/{sku}/media/{entryId}

delete/V1/products/{sku}/media/{entryId}

Remove gallery entry

Request
path Parameters
entryId
required
integer
sku
required
string
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
true