Skip to main content

StoreApi

All URIs are relative to http://localhost

MethodHTTP requestDescription
storeControllerFetchMenuGET /v1/store/{id}/menuGet store menu
storeControllerFindPOST /v1/storeFind store
storeControllerFindOneGET /v1/store/{id}Get store information
storeControllerGetStoreDateOptionsGET /v1/store/{id}/order-datesGet store date options

storeControllerFetchMenu

StoreMenuClass storeControllerFetchMenu(id, order_date, order_time)

Get store menu

Parameters

NameTypeDescriptionNotes
idStringID of store[default to null]
order_dateStringISO8601 compliant date string, defaults to current server date[optional] [default to null]
order_timeStringOrder time in HH
format, void (omitting it) means order is ASAP (current system, or nearest available time slot)
[optional] [default to null]

Return type

StoreMenuClass

Authorization

api-key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

storeControllerFind

StoresEntity storeControllerFind(SearchStoreDTO)

Find store

Parameters

NameTypeDescriptionNotes
SearchStoreDTOSearchStoreDTO

Return type

StoresEntity

Authorization

api-key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

storeControllerFindOne

StoreClass storeControllerFindOne(id)

Get store information

Parameters

NameTypeDescriptionNotes
idStringID of store[default to null]

Return type

StoreClass

Authorization

api-key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

storeControllerGetStoreDateOptions

StoreOrderDatesEntity storeControllerGetStoreDateOptions(id)

Get store date options

Parameters

NameTypeDescriptionNotes
idStringID of store[default to null]

Return type

StoreOrderDatesEntity

Authorization

api-key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json