Product Properties Service

Back

Overview

A product property is a link between a product and a property definition (e.g. Colour, Material) — it records that a product has a given property, so its variants can inherit a value for it. It carries no value of its own; actual values live on variants via Property Values.

Related to Properties, which define the property schema.

All operations are tenant-aware.


Database tables


Endpoints

Back to Catalog

GET

/api/v1/ProductProperties

Returns all properties assigned to a specific product.

Query parameters:

Response:

Authorization:


POST

/api/v1/ProductProperties

Assigns a property to a product.

Request body (ProductPropertyModel):

Response:

Authorization:


PUT

/api/v1/ProductProperties/product/{productId}

Confirms a product↔property assignment exists for the given product (no fields beyond the identifying ProductId/PropertyId pair to change — this is a pure link with no value).

Route parameters:

Request body (ProductPropertyModel):

Response:

Authorization:


DELETE

/api/v1/ProductProperties/product/{productId}

Deletes all property assignments for a product.

Route parameters:

Response:

Authorization:


DELETE

/api/v1/ProductProperties/product/{productId}/property/{propertyId}

Deletes a specific property assignment for a product.

Route parameters:

Response:

Authorization:


Notes