Name | Type | Description | |
---|
api_key | string | Your API-key | |
user_id | number | user_id | |
marketplace_user_id | number | marketplace_user_id | |
user_type | number(optional) | 2 : for admin, 3 : for merchant | |
marketplace_reference_id | string(optional) | marketplace_reference_id | |
customization | object | customization | |
Request
Body Params application/json
{
"api_key" : "7c675d32d0a695363ed2e60eee2301bb",
"user_id" : 510001,
"marketplace_user_id" : 510001,
"user_type" : 2,
"marketplace_reference_id" : "510001",
"customization" : {
"customize_id" : 456548,
"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/editCustomization' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key" : "7c675d32d0a695363ed2e60eee2301bb",
"user_id" : 510001,
"marketplace_user_id" : 510001,
"user_type" : 2,
"marketplace_reference_id" : "510001",
"customization" : {
"customize_id" : 456548,
"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