Add Product#
Parameter | Type | Description |
---|
api_key | string | Your API-key |
marketplace_user_id | number | Your marketplace user id |
user_id | number | Your user id |
customization | object | Enter customization parameters.For body parameters refer to the below customization table |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
Request
Body Params application/json
{
"api_key" : {{apikey}},
"user_id" : 510001,
"marketplace_user_id" : 510001,
"customization" : {
"product_id": 409973,
"type": "veg pizza",
"type_json" : {
"en": "veg pizza"
},
"is_multiple": 0,
"sub_types": [
{
"name": "veg",
"price": 120,
"is_default": 0,
"name_json" : {
"en" : "veg"
}
}
],
"minimum_selection_required": 0,
"minimum_selection" : 0
}
}
Request Code Samples
curl --location --request POST 'https://api.yelo.red/open/product/addCustomization' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key" : {{apikey}},
"user_id" : 510001,
"marketplace_user_id" : 510001,
"customization" : {
"product_id": 409973,
"type": "veg pizza",
"type_json" : {
"en": "veg pizza"
},
"is_multiple": 0,
"sub_types": [
{
"name": "veg",
"price": 120,
"is_default": 0,
"name_json" : {
"en" : "veg"
}
}
],
"minimum_selection_required": 0,
"minimum_selection" : 0
}
}'
Responses
application/json Modified at 2024-04-17 07:11:33