Product Images Service

Back

Overview

Product Images manage the visual assets associated with products and their variants.

An image record can be linked at two levels:

This allows products to carry shared gallery images while also supporting variant-specific imagery (e.g. different photos per colour variant).

The Products service aggregates all images into the product response:

All operations are tenant-aware and scoped to the current tenant.


Endpoints

Back to Catalog

GET

/api/v1/ProductImages/product/{productId}

Returns all images associated with a given product.

Behavior:

Authorization:


GET

/api/v1/ProductImages/variant/{variantId}

Returns all images associated with a specific product variant.

Behavior:

Authorization:


GET

/api/v1/ProductImages/{id}

Returns a single product image by its identifier.

Behavior:

Authorization:


POST

/api/v1/ProductImages

Adds a new image to a product or variant.

Request body:

Behavior:

Errors:

Authorization:


PUT

/api/v1/ProductImages/{id}

Updates an existing product image.

Request:

Behavior:

Errors:

Authorization:


DELETE

/api/v1/ProductImages/{id}

Deletes a product image by its identifier.

Behavior:

Errors:

Authorization:


Notes