AirService - Catalogue API v1.0
API Endpoint
https://api-sandbox.airservice.com/The mobile commerce platform
Info ¶
Properties
| Name | Type | Description |
|---|
Info collection ¶
Actions on the Info resource
[GET]
- Response 200 (application/json)
+ Body
[
{
"id": 859
}
]
Regions ¶
Properties
| Name | Type | Description |
|---|
Regions collection ¶
Actions on the Regions resource
[GET]
- Response 200 (application/json)
+ Body
[
{
"id": 300
}
]
Sectors ¶
Properties
| Name | Type | Description |
|---|
Sectors collection ¶
Actions on the Sectors resource
Headers
Content-Type: application/jsonBody
[
{
"id": 983
}
]Returns active sectors based on proximity to lat/long if suppliedGET/catalogue/:version/sectors
- lat
Float(optional)Latitude of location to perform the search around
- long
Float(optional)Longitude of location to perform the search around
Sectors single ¶
Actions on the Sectors resource
Headers
Content-Type: application/jsonBody
{
"id": 176
}Returns detailed information about SectorGET/catalogue/:version/sectors/:id
- id
String(required)Unique sector id or sector slug
Venues ¶
Properties
| Name | Type | Description |
|---|
Venues collection ¶
Actions on the Venues resource
Headers
Content-Type: application/jsonBody
[
{
"id": 719
}
]Returns venues grouped by active and coming soonGET/catalogue/:version/venues
- lat
Float(optional)Latitude of location to perform the search around
- limit
Integer(optional)Limit the response size of the search of Collection, Location, Search Terms and Service applied
- long
Float(optional)Longitude of location to perform the search around
- search
String(optional)Search string for Venues and all Products
- service_time
String(optional)The Service time for the customer to filter venue results
- service_type_id
Integer(optional)The Service Type ID to filter venue results
Venues single ¶
Actions on the Venues resource
Headers
Content-Type: application/jsonBody
{
"id": 977
}Returns detailed information about VenueGET/catalogue/:version/venues/:id
- id
Integer(required)Unique Venue ID or Venue code
Recent ¶
Properties
| Name | Type | Description |
|---|
Recent collection ¶
Actions on the Recent resource
Search ¶
Properties
| Name | Type | Description |
|---|
Search collection ¶
Actions on the Search resource
Headers
Content-Type: application/jsonBody
[
{
"id": 156
}
]Search for menus based on supplied parametersGET/catalogue/:version/venues/:venue_id/search
- begins
String(optional)Begin time of interval in ‘12:00’ format
- ends
String(optional)End Time of interval ‘12:00’ format
- interval_id
Integer(optional)Interval Id for Customer selected Service period
- location_id
Integer(optional)Location used for in-venue or home delivery
- service_id
Integer(required)Service ID selected by customer
- venue_id
Integer(required)Unique Venue ID or Venue code
Headers
Content-Type: application/jsonBody
[
{
"id": 760
}
]Headers
Content-Type: application/jsonBody
{
"id": 630
}Products ¶
Properties
| Name | Type | Description |
|---|
Products single ¶
Actions on the Products resource
Headers
Content-Type: application/jsonBody
{
"id": 377
}Returns the specified productGET/catalogue/:version/venues/:venue_id/products/:id
- id
Integer(required)Unique product id
- venue_id
String(required)Unique Venue ID or Venue code
Address Suggestions ¶
Properties
| Name | Type | Description |
|---|
Address Suggestions collection ¶
Actions on the Address suggestions resource
Headers
Content-Type: application/jsonBody
[
{
"id": 511
}
]Get list of addresses matching search criteriaGET/catalogue/:version/address_suggestions
- q
String(required)Address string to search
- region
String(optional)Geographic Region used for search, defaults to AU
Delivers To ¶
Properties
| Name | Type | Description |
|---|
Delivers To collection ¶
Actions on the Delivers to resource
Headers
Content-Type: application/jsonBody
[
{
"id": 461
}
]Returns whether or not a venue can deliver to a delivery addressGET/catalogue/:version/venues/:venue_id/delivers_to
- address
String(required)Delivery address
- venue_id
String(required)Unique venue id
Locations ¶
Properties
| Name | Type | Description |
|---|
Locations collection ¶
Actions on the Locations resource
Headers
Content-Type: application/jsonBody
[
{
"id": 880
}
]Returns services locations for in in-venue deliveryGET/catalogue/:version/services/:service_id/locations
- page
Integer(optional)Current page or results
- search
String(optional)Search for locations
- service_id
String(required)Unique venue id
Promotions ¶
Properties
| Name | Type | Description |
|---|
Promotions collection ¶
Actions on the Promotions resource
Headers
Content-Type: application/jsonBody
[
{
"id": 457
}
]Returns detailed information about PromotionsGET/catalogue/:version/promotions
- customer_id
Integer(optional)Authenticated Customer Id
- major
Integer(required)Beacon Major
- minor
Integer(required)Beacon Minor
- uuid
String(required)Beacon UUID
Generated by aglio on 29 Nov 2016