Skip to content

Product Images — Upload

Image upload is REST-only. A binary file part cannot be carried in a JSON GraphQL request, so createAdminCatalogProductImage exists in the schema as a placeholder and rejects any call — it will not accept a file.

Upload through POST /api/admin/catalog/products/{productId}/images instead. Reordering and deleting images, which carry no binary payload, do work over GraphQL.

See also

Released under the MIT License.