id required | string |
type | string |
name required | string |
version | string |
price required | number |
{- "id": "string",
- "type": "string",
- "name": "string",
- "version": "string",
- "price": 0
}
Create a product
Creates a new product
Request Body schema: application/json
Create a new Product
id required | string |
type | string |
name required | string |
version | string |
price required | number |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "1234",
- "type": "food",
- "price": 42
}
Response samples
- 200
Content type
application/json; charset=utf-8
{- "id": "1234",
- "type": "food",
- "price": 42
}