Create Tool
Creating a new Tool
Create One or Multiple Tools
POST https://backend.mycraftit.com/api/v1/tools/create
Request Body
Name
Type
Description
tools*
JSON Object
Array of Tools
customerID*
string
The ID of the customer where the tools are to be created.
authToken*
String
CustomerID + SharedSecret
successIf the "name" of the tool or the parameter "customer_id" is not filled
[
{
"name": "Hammer", // Required
"producer": "Hilti",
"serial_number": "ABC123",
"barcode": "123456789",
"note": "Ein robuster Hammer für den Heimgebrauch.",
"purchase_location": "Baumarkt XYZ",
"purchase_date": "2022-03-15",
"purchase_price": "19.99",
"warranty": "2",
"check_start": "2023-01-01",
"check_interval": "1",
"image": "https://example.com/images/hammer.jpg"
},
{
"name": "Schraubendreher Set", // Required
"producer": "Bosch",
"serial_number": "DEF456",
"barcode": "987654321",
"note": "Ein praktisches Set mit verschiedenen Schraubendrehern.",
"purchase_location": "Werkzeugwelt",
"purchase_date": "2022-06-10",
"purchase_price": "29.99",
"warranty": "1",
"check_start": "2023-01-15",
"check_interval": "6",
"image": "https://example.com/images/screwdriver_set.jpg"
}
]Example of an expected request
Last updated