Product Colour Service

Back to Catalog

Overview

The Product Colour service manages colour variants that can be assigned to products.

It is used to:

This service manages colour definitions only. It does not assign colours to products directly.

All operations are tenant-aware and all state-changing actions are audited.


Endpoints

Back to Catalog

GET

/api/v1/ProductColour/GetAllProductColour

Returns all product colours filtered by active status.

Query parameters:

Behavior:

Authorization:


GET

/api/v1/ProductColour/GetProductColourById/{id}

Returns a single product colour by its identifier.

Behavior:

Authorization:


GET

/api/v1/ProductColour/GetProductColourByCode/{code}

Returns a single product colour by its unique code.

Behavior:

Authorization:


POST

/api/v1/ProductColour/AddNewProductColour

Creates a new product colour.

Request body:

Behavior:

Errors:

Authorization:


PUT

/api/v1/ProductColour/UpdateProductColourById/{id}

Updates an existing product colour.

Request:

Behavior:

Errors:

Authorization:


DELETE

/api/v1/ProductColour/DeleteProductColourById/{id}

Deletes a product colour by its identifier.

Behavior:

Errors:

Authorization:


Notes