Product Variants Attributes Service

Back

Overview

Product Variants Attributes define the attribute combination that characterises a specific product variant (e.g. a set of dimension assignments such as Colour + Size).

Each attribute record links:

A variant with two attributes (e.g. one for Colour and one for Size) is described by exactly two ProductVariantsAttributes records.

This model is intentionally minimal and 1:1 with the database table. The full composed representation (variant + attributes + images) is available via the Products service.

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


Endpoints

Back to Catalog

GET

/api/v1/ProductVariantsAttributes/variant/{variantId}

Returns all attribute assignments for a given variant.

Behavior:

Authorization:


GET

/api/v1/ProductVariantsAttributes/{id}

Returns a single attribute assignment by its identifier.

Behavior:

Authorization:


POST

/api/v1/ProductVariantsAttributes

Assigns a dimension value to a product variant.

Request body:

Behavior:

Errors:

Authorization:


PUT

/api/v1/ProductVariantsAttributes/{id}

Updates an existing attribute assignment.

Request:

Behavior:

Errors:

Authorization:


DELETE

/api/v1/ProductVariantsAttributes/{id}

Removes an attribute assignment by its identifier.

Behavior:

Errors:

Authorization:


Notes