Inventory

Update inventory category

Updates an existing inventory category

put/inventory/categories/{id}

Request

  • Base URL: https://api.faireplace.com/api
  • URL: https://api.faireplace.com/api/inventory/categories/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Inventory category ID

Request body

namestring nullable

Category name

descriptionstring nullable

Category description

Response

Inventory category updated successfully

idstring uuid required

Unique identifier of the category

namestring required

Category name

descriptionstring nullable

Category description

created_atstring date-time required

Creation date

updated_atstring date-time required

Last modification date

Example response

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Doors and woodwork",
  "description": "Doors and woodwork",
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-01-15T10:30:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.