cURL
curl --request POST \ --url https://api.maalbar.dk/products \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data ' { "name": "<string>", "sku": "<string>", "ean": 123 } '
{ "publicId": "prd_xxxxxxxxxxxx", "name": "<string>", "sku": "<string>", "ean": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Create a product for the current customer
255
Successful response
16
"prd_xxxxxxxxxxxx"