SmartAcc DynaMod Web API v2024.4 Build 0000 - Local

<back to all web services

GrabGetMenuRequest

Utility Module

Grab Food Get Menu API

The following routes are available for this service:
GET/GrabGetMenu
GrabGetMenuRequest Parameters:
NameParameterData TypeRequiredDescription
merchantIDquerystringNo
partnerMerchantIDquerystringNo
GrabGetMenuResponse Parameters:
NameParameterData TypeRequiredDescription
merchantIDformstringNo
partnerMerchantIDformstringNo
currencyformCurrencyNo
sellingTimesformList<GrabFoodSellingTimeResponse>No
categoriesformList<Category>No
responseStatusformResponseStatusNo
GrabFoodSellingTimeResponse Parameters:
NameParameterData TypeRequiredDescription
idformstringNo
nameformstringNo
startTimeformstringNo
endTimeformstringNo
serviceHoursformDictionary<string, ServiceHours>No
ServiceHours Parameters:
NameParameterData TypeRequiredDescription
openPeriodTypeformstringNo
periodsformList<Period>No
Period Parameters:
NameParameterData TypeRequiredDescription
startTimeformstringNo
endTimeformstringNo
Category Parameters:
NameParameterData TypeRequiredDescription
idformstringNo
nameformstringNo
availableStatusformstringNo
sellingTimeIDformstringNo
itemsformList<Item>No
Item Parameters:
NameParameterData TypeRequiredDescription
idformstringNo
nameformstringNo
descriptionformstringNo
priceformdecimalNo
photosformList<string>No
sellingTimeIDformstringNo
availableStatusformstringNo
taxableformboolNo
barcodeformstringNo
maxStockformintNo
modifierGroupsformList<ModifierGroup>No
ModifierGroup Parameters:
NameParameterData TypeRequiredDescription
idformstringNo
nameformstringNo
availableStatusformstringNo
selectionRangeMinformintNo
selectionRangeMaxformintNo
modifiersformList<Modifier>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /GrabGetMenu HTTP/1.1 
Host: snr2u.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"merchantID":"String","partnerMerchantID":"String","currency":{"code":"String","symbol":"String","exponent":0},"sellingTimes":[{"id":"String","name":"String","startTime":"String","endTime":"String","serviceHours":{"String":{"openPeriodType":"String","periods":[{"startTime":"String","endTime":"String"}]}}}],"categories":[{"id":"String","name":"String","availableStatus":"String","sellingTimeID":"String","items":[{"id":"String","name":"String","description":"String","price":0,"photos":["String"],"sellingTimeID":"String","availableStatus":"String","taxable":false,"barcode":"String","maxStock":0,"modifierGroups":[{"id":"String","name":"String","availableStatus":"String","selectionRangeMin":0,"selectionRangeMax":0,"modifiers":[{"id":"String","name":"String","availableStatus":"String","price":0,"barcode":"String"}]}]}]}],"responseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}