Inventory
Create a new inventory item
Creates a new inventory item
post/inventory/items
Request
- Base URL: https://api.faireplace.com/api
- URL: https://api.faireplace.com/api/inventory/items
- Auth: HTTP bearer
Request body
Example request
{
"inventory_type_id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Samsung Refrigerator",
"description": "Samsung 300L refrigerator with freezer",
"brand": "Samsung",
"model": "RT32K5070S8",
"serial_number": "SN123456789",
"quantity": 1,
"unit": "piece",
"condition_status": "GOOD",
"condition_notes": "Works perfectly",
"last_condition_check": "2024-01-15",
"next_condition_check": "2024-07-15",
"purchase_date": "2023-06-01",
"purchase_price": 899.99,
"current_value": 750,
"insured_value": 800,
"insurance_policy_number": "POL123456789",
"last_maintenance_date": "2024-01-10",
"next_maintenance_date": "2024-07-10",
"maintenance_frequency_days": 180,
"maintenance_notes": "Filter cleaning completed",
"tags": [
"kitchen",
"appliance",
"cooling"
],
"custom_fields": {
"warranty_end": "2025-06-01",
"supplier": "Darty"
},
"notes": "Installed in June 2023"
}Response
Inventory item created successfully
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"inventory_type_id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Samsung Refrigerator",
"description": "Samsung 300L refrigerator with freezer",
"brand": "Samsung",
"model": "RT32K5070S8",
"serial_number": "SN123456789",
"quantity": 1,
"unit": "piece",
"condition_status": "GOOD",
"condition_notes": "Works perfectly",
"last_condition_check": "2024-01-15",
"next_condition_check": "2024-07-15",
"purchase_date": "2023-06-01",
"purchase_price": 899.99,
"current_value": 750,
"insured_value": 800,
"insurance_policy_number": "POL123456789",
"last_maintenance_date": "2024-01-10",
"next_maintenance_date": "2024-07-10",
"maintenance_frequency_days": 180,
"maintenance_notes": "Filter cleaning completed",
"tags": [
"kitchen",
"appliance",
"cooling"
],
"custom_fields": {
"warranty_end": "2025-06-01",
"supplier": "Darty"
},
"notes": "Installed in June 2023",
"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.