Sequence Items and Group Items Issue?

in Development
Hello Lightspeed Community,
I am getting articles details from this end point
"https://api-trial.ikentoo.com/o/op/1/menu/load/:ikentooMenuId?businessLocationId={{businessLocationId}}"
I want to know that there is no difference between data/json returned for both Sequence and Group articles,
How can I differentiate between them? because both have different implementations.
kindly reply me ASAP
Thanks
11 comments
Hello,
You are right, I don't see a way to differentiate them. Maybe I'm missing something, I will ask our development team.
Thank you.
Lightspeed HQ
Thanks @Yorick,
Waiting for solution. I hope development team will sort out this issue soon
Hello @Yorick,
This issue is still pending. When will development team solve this issue.
Hello,
I don't have an update yet. What is the goal of your integration? Maybe we can find a workaround for now.
Lightspeed HQ
Hello @Yorick,
Actually I want to display my products and make local order(already paid) from my app
I have displayed list of products the only issue is when I came across Combo and group items I am unable to differentiate between them because the response that apis returns for both is same.
Suppose I have added 3 group items
Group A and Group B and Group C
and then created one combo item and added 2 group item to it
Combo A => Group A & Group B
Then I create menu and menu screen
Drinks(Menu)
it have two menu screens
Drinks(Menu) => Hot and Cold
then I add combo to Hot menu screen and one group item to Cold.
Hot => Combo A
Cold => Group C
When I am going to display this in my app the api returns the same response for both Combo A and Group C
I am unable to differentiate between them
Because in group items we can select only one or more than one
but in combo we need to select all items added in combo.
@Yorick kindly understand my question and example
and guide me according to this.
Thanks waiting for your response.
@Yorick, Waiting for your response
@Yorick, @Ali_Masoumie , @Trung kindly replay here.
Hello,
I already reported to our development team that there is no way to differentiate combos and groups when they are at the root of a menu but there is no update at the moment (and I'm not expecting one quickly).
As explained in the other thread, groups should be used inside combos (https://k-series-support.lightspeedhq.com/hc/en-us/articles/1260804656529-About-combos). In the situation you described, you should be using sub-screens in your menu instead of groups. Sub-screens will show as type group in the menu endpoint and will be easily identifiable. More info here: https://k-series-support.lightspeedhq.com/hc/en-us/articles/1260804656649-Creating-menus
That would be the best solution as our development team might just decide to prevent from using groups like this in menus as it is not the intended usage.
Lightspeed HQ
@Yorick Thanks,
Ok we will not add group items to menu screen as for as concern with this statement
"Sub-screens will show as type group in the menu endpoint and will be easily identifiable"
response for both group item and combo items shows as type group,
there is no way to differentiate.
Hello,
A sub-screen will show as type group:
{
"@type": "group",
"id": "41429254538178",
"name": "sub-screen",
"color": "blue",
"menuEntry": [
{
"@type": "menuItem",
"productName": "Item1",
"productPrice": "5.00",
"color": "blue",
"sku": "168",
"customItemNameEnabled": false,
"pricingStrategy": "PRICE_CANNOT_BE_CUSTOMIZED",
"defaultTaxAmount": "0.83",
"defaultTaxPercentage": "20.00",
"asSubItem": false,
"productionInstructionList": [],
"type": "menuItem",
"taxIncludedInPrice": true
}
],
"type": "group"
}
Combos and groups are type menuDeal.
Lightspeed HQ
@Yorick thanks I have already configured type group sub screens/ menu screens.
I was stucked on this point "Combos and groups are type menuDeal."