Property Service

Back to Catalog

Overview

The Property service manages the catalog's attribute definitions used by products.

A Property describes what kind of attribute exists (e.g. Colour, Material, Voltage) and how it should be treated via DataType. Actual values assigned to products are stored separately in Product Property Value.

This service allows you to:

All operations are tenant-aware and audited.


Endpoints

Back to Catalog

GET

/api/v1/Property/GetAllProperties

Returns all properties.

Behavior:

Response:

Authorization:


GET

/api/v1/Property/GetPropertyById/{id}

Returns a single property by its numeric identifier.

Behavior:

Authorization:


GET

/api/v1/Property/GetPropertyByCode/{code}

Returns a single property by its code.

Behavior:

Authorization:


POST

/api/v1/Property/AddNewProperty

Creates a new property definition.

Request body (PropertiesModel):

Behavior:

Errors:

Authorization:


PUT

/api/v1/Property/UpdatePropertyById/{id}

Updates an existing property definition.

Request:

Body fields:

Behavior:

Errors:

Authorization:


DELETE

/api/v1/Property/DeletePropertyById/{id}

Deletes a property definition by ID.

Behavior:

Errors:

Authorization:


Notes