curl --request POST \
--url https://api.mginex.com/open-api/catalog/product \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "<string>",
"categoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"info": {
"title": "<string>",
"description": "<string>",
"images": [
"<string>"
],
"youtubeLink": "<string>",
"instructions": "<string>"
},
"pricing": {
"price": 1.1,
"comparation": 123
},
"inventory": {
"type": "SERIAL",
"content": "<string>",
"fileName": "<string>"
},
"utils": {
"hideSales": true,
"hideProduct": true,
"minQuantity": 123
},
"chat": {
"enabled": true,
"autoMessages": [
"<string>"
]
}
}
'