πCreate a Product
To create a product you need to make request
Authorization: Bearer β’β’β’
POST https://api.mel.store/api/mel-store/productsExample of request
curl --location 'https://api.mel.store/api/mel-store/products'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer β’β’β’β’β’β’'
--data '{
"product_type": "CustomService",
"button_title": "Invividual Consult Service",
"product_description": "Indiviual English lesson with Maria",
"product_title": "Indiviual English lesson"
}'poduct_type is required field, it's a product type on platform,
currently you could create only CustomService type of productproduct_type
required, currently you can use only CustomService type
button_title
required, button title on list of projects which would be shown for users go to checkout page
product_title
required, checkout page product title which customers will see while buy your product
product_description
required, checkout page product description which customers will see while buy your product
Example of response
This response is pretty long and currently we can't provide you full description of all params and meanings of all params, maybe it would be added in later stages/versions, from all this reponse you just need an id field, in our example it's id: 339
It will be used to Update Product or to create a Payment Link as :productId
Obtain :productId via UI
You also can create product via our UI and setup images, prices and other settings which you would like, in that case :productId can be found inside the link and you can use it to create a payment links for example

Last updated