Feature List
GET /Features
Lists the product features of the restaurant in Adisyo.
Product features allow a product to be customized with different options (such as extra cheese, sauce, dessert selection, etc.). Each feature group contains alternatives that customers can select when placing an order, and in some groups, multiple selections can be made or selection may be required. This provides customers with a more flexible and personalized ordering experience.
Example Request
Product features list
curl -X GET "https://ext.adisyo.com/api/External/v2/Features" \
--header "x-api-key: ..." \
--header "x-api-secret: ..." \
--header "x-api-consumer: ..."Request Parameters
This method does not require any additional parameters
Example Response
Product features list
{
"data": {
"featureGroups": [
{
"featureGroupId": 10001,
"featuresGroupName": "EKSTRA PEYNİR SEÇİMİ",
"necessaryCount": 0,
"featureHeaderType": "Çoklu Seçim",
"features": [
{
"featureName": "CHEDDAR PEYNİR",
"featureId": 30001,
"relatedProducts": [
{
"productId": 40001,
"additionalPrice": 10,
"featureHeaderName": "EKSTRA PEYNİR SEÇİMİ"
}
]
},
{
"featureName": "MOZZARELLA PEYNİR",
"featureId": 30002,
"relatedProducts": [
{
"productId": 40002,
"additionalPrice": 12,
"featureHeaderName": "EKSTRA PEYNİR SEÇİMİ"
}
]
}
]
},
{
"featureGroupId": 10002,
"featuresGroupName": "İÇECEK SEÇİMİ",
"necessaryCount": 1,
"featureHeaderType": "Tekli Seçim",
"features": [
{
"featureName": "KOLA",
"featureId": 30003,
"relatedProducts": [
{
"productId": 40003,
"additionalPrice": 0,
"featureHeaderName": "İÇECEK SEÇİMİ"
}
]
},
{
"featureName": "AYRAN",
"featureId": 30004,
"relatedProducts": [
{
"productId": 40004,
"additionalPrice": 5,
"featureHeaderName": "İÇECEK SEÇİMİ"
}
]
}
]
},
{
"featureGroupId": 10003,
"featuresGroupName": "BOY SEÇİMİ",
"necessaryCount": 1,
"featureHeaderType": "Tekli Seçim",
"features": [
{
"featureName": "ORİJİNAL BOY",
"featureId": 30005,
"relatedProducts": [
{
"productId": 40005,
"additionalPrice": 0,
"featureHeaderName": "BOY SEÇİMİ"
}
]
},
{
"featureName": "BÜYÜK BOY",
"featureId": 30006,
"relatedProducts": [
{
"productId": 40006,
"additionalPrice": 8,
"featureHeaderName": "BOY SEÇİMİ"
}
]
}
]
},
{
"featureGroupId": 10004,
"featuresGroupName": "EKSTRA SOS SEÇİMİ",
"necessaryCount": 0,
"featureHeaderType": "Çoklu Seçim",
"features": [
{
"featureName": "BBQ SOS",
"featureId": 30007,
"relatedProducts": [
{
"productId": 40007,
"additionalPrice": 3,
"featureHeaderName": "EKSTRA SOS SEÇİMİ"
}
]
},
{
"featureName": "RANCH SOS",
"featureId": 30008,
"relatedProducts": [
{
"productId": 40008,
"additionalPrice": 3,
"featureHeaderName": "EKSTRA SOS SEÇİMİ"
}
]
}
]
},
{
"featureGroupId": 10005,
"featuresGroupName": "TATLI SEÇİMİ",
"necessaryCount": 0,
"featureHeaderType": "Tekli Seçim",
"features": [
{
"featureName": "SUFLE",
"featureId": 30009,
"relatedProducts": [
{
"productId": 40009,
"additionalPrice": 18,
"featureHeaderName": "TATLI SEÇİMİ"
}
]
},
{
"featureName": "DONDURMA",
"featureId": 30010,
"relatedProducts": [
{
"productId": 40010,
"additionalPrice": 12,
"featureHeaderName": "TATLI SEÇİMİ"
}
]
}
]
}
],
"excludedFeatures": []
},
"status": 100,
"message": "İşlem Başarılı."
}Response Parameters
| Parameter Name | Data Type | Description |
|---|---|---|
data | Array | Feature groups and excluded features |
data.featureGroups | Array | List of feature groups |
data.featureGroups.featureGroupId | Number | Feature group ID |
data.featureGroups.featuresGroupName | String | Feature group name |
data.featureGroups.necessaryCount | Number | Required selection count (0 if not required) |
data.featureGroups.featureHeaderType | String | Feature header type (Multiple Selection, Single Selection) |
data.featureGroups.features | Array | List of features in the feature group |
data.featureGroups.features.featureName | String | Feature name |
data.featureGroups.features.featureId | Number | Feature ID |
data.featureGroups.features.relatedProducts | Array | List of products related to the feature |
data.featureGroups.features.relatedProducts.productId | Number | Product ID |
data.featureGroups.features.relatedProducts.additionalPrice | Number | Additional price |
data.featureGroups.features.relatedProducts.featureHeaderName | String | Feature header name |
data.excludedFeatures | Array | List of excluded features |
status | Number | Response Codes |
message | String | Operation result message |