Product Size Service

Back to Catalog

Overview

The Product Size service manages size variants that can be assigned to products.

It is used to:

This service manages size definitions only. It does not assign sizes to products directly.

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


Endpoints

Back to Catalog

GET

/api/v1/ProductSize/GetAllProductSize

Returns all product sizes filtered by active status.

Query parameters:

Behavior:

Authorization:


GET

/api/v1/ProductSize/GetProductSizeById/{id}

Returns a single product size by its identifier.

Behavior:

Authorization:


GET

/api/v1/ProductSize/GetProductSizeByCode/{code}

Returns a single product size by its unique code.

Behavior:

Authorization:


POST

/api/v1/ProductSize/AddNewProductSize

Creates a new product size.

Request body:

Behavior:

Errors:

Authorization:


PUT

/api/v1/ProductSize/UpdateProductSizeById/{id}

Updates an existing product size.

Request:

Behavior:

Errors:

Authorization:


DELETE

/api/v1/ProductSize/DeleteProductSizeById/{id}

Deletes a product size by its identifier.

Behavior:

Errors:

Authorization:


Notes