Product Variants Type Service

Back

Overview

Product Variants Type stores the available attribute values for a product's variants (e.g. the selectable options within a given type, such as Midnight Blue, Crimson Red, Forest Green for a Colour type).

Each record links:

These values are referenced by ProductVariantsAttributes to describe the attributes that characterise each variant (e.g. its selected options per type).

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


Endpoints

Back to Catalog

GET

/api/v1/ProductVariantsType/product/{productId}

Returns all variants type values for a given product.

Behavior:

Authorization:


GET

/api/v1/ProductVariantsType/{id}

Returns a single variants type record by its identifier.

Behavior:

Authorization:


POST

/api/v1/ProductVariantsType

Creates a new product variants type value.

Request body:

Behavior:

Errors:

Authorization:


PUT

/api/v1/ProductVariantsType/{id}

Updates an existing variants type value.

Request:

Behavior:

Errors:

Authorization:


DELETE

/api/v1/ProductVariantsType/{id}

Deletes a variants type value by its identifier.

Behavior:

Errors:

Authorization:


Notes