Creates a new product in the system.
Endpoint
POST /productsAuthentication
Required: Authorization header with valid token
Request Body
{
"title": "string",
"externalId": "string",
"number": "string",
"additionalInformation": "string",
"defaultQuantity": "number",
"defaultPeriodType": "enum",
"type": "enum",
"unitType": "enum",
"priceList": []
}Required Fields
title- The name of the producttype- Indicates the nature of the item (RESOURCE or SERVICE)unitType- The unit in which this resource is measuredpriceList- Array of pricing records
Fields description see here
Response
Success
GeneralError
Example Usage
curl -X POST "https://integration-api.ram.syniotec.com/master-data/v1/product-management/products" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Excavator Rental Service",
"type": "SERVICE",
"unitType": "DAYS",
"defaultQuantity": 1,
"priceList": [
{
"from": 1,
"price": 100.00
},
{
"from": 3,
"price": 70.00
}
]
}'