Your product won't be available for selling before you PATCH it and setup USD prices, it would has draft/unpublished status, please reffer to Update a Product section
Authorization: Bearer •••
POST https://api.mel.store/api/mel-store/products
Example 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 product
product_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
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