Download OpenAPI specification:Download
Summary of Westfield Centre Directory API endpoints.
Request an array of services, outside of those provided by the retailers, filtered by allowed parameters.
centre_id required | string Example: sanfrancisco,sydney,london Centre identifier. Request the centre with centre_id. Lowercase code name for a specific centre. |
fields | string Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
page | number Default: 1 Example: page=2 Results page number. Specific page of results to request when paginating. |
per_page | number <= 100 Default: 10 Example: per_page=25 Results per page. Number of items per result set when paginating. |
service_class | string Default: "physical" Enum: "all" "physical" "digital" Example: service_class=digital Filter services by service class |
updated_since | string <date-time> Example: updated_since=2015-04-02 |
locale | string Example: locale=fr Retrieve localized versions of all centre services in response body. |
strict | string When retrieving localized centre services with |
active | boolean Flag indicating if the retailer is enabled in the Westfield system |
{- "data": [
- {
- "_links": {
}, - "active": true,
- "booking_link": "string",
- "service_link": "string",
- "centre_id": "string",
- "country": "us",
- "description": "string",
- "eligibilities": [
- 0
], - "email": "string",
- "external_id": "string",
- "featured": true,
- "hours": [
- {
- "label": "string",
- "name": "string",
- "display_order": 0,
- "value": "string"
}
], - "level_name": "string",
- "location_id": "string",
- "locations": [
- {
- "label": "string",
- "name": "string",
- "display_order": 0,
- "value": "string"
}
], - "long_title": "string",
- "loyalty_benefit_label": "string",
- "loyalty_benefit_description": "string",
- "mobile_picto_off": "string",
- "mobile_picto_on": "string",
- "phone_number": "string",
- "picto_off": "string",
- "picto_on": "string",
- "price": "string",
- "service_id": 0,
- "service_class": "digital",
- "service_type": "string",
- "short_title": "string",
- "sort_order": 0,
- "updated_at": "2018-03-21T21:43:56.000Z",
- "url": "string",
- "service_type_id": 0,
- "service_tag": "string",
- "service_tag_id": 0
}
], - "errors": { },
- "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request an array of services, outside of those provided by the retailers, filtered by allowed parameters.
centre_id required | string Example: centre_id=sanfrancisco¢re_id=sydney¢re_id=london Centre identifier. Request services with centre_id. Lowercase code name for a specific centre. |
fields | string Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
page | number Default: 1 Example: page=2 Results page number. Specific page of results to request when paginating. |
per_page | number <= 100 Default: 10 Example: per_page=25 Results per page. Number of items per result set when paginating. |
service_class | string Default: "physical" Enum: "all" "physical" "digital" Example: service_class=digital Filter services by service class |
updated_since | string <date-time> Example: updated_since=2015-04-02 |
locale | string Example: locale=fr Retrieve localized versions of all centre services in response body. |
strict | string When retrieving localized centre services with |
{- "data": [
- {
- "_links": {
}, - "active": true,
- "booking_link": "string",
- "service_link": "string",
- "centre_id": "string",
- "country": "us",
- "description": "string",
- "eligibilities": [
- 0
], - "email": "string",
- "external_id": "string",
- "featured": true,
- "hours": [
- {
- "label": "string",
- "name": "string",
- "display_order": 0,
- "value": "string"
}
], - "level_name": "string",
- "location_id": "string",
- "locations": [
- {
- "label": "string",
- "name": "string",
- "display_order": 0,
- "value": "string"
}
], - "long_title": "string",
- "loyalty_benefit_label": "string",
- "loyalty_benefit_description": "string",
- "mobile_picto_off": "string",
- "mobile_picto_on": "string",
- "phone_number": "string",
- "picto_off": "string",
- "picto_on": "string",
- "price": "string",
- "service_id": 0,
- "service_class": "digital",
- "service_type": "string",
- "short_title": "string",
- "sort_order": 0,
- "updated_at": "2018-03-21T21:43:56.000Z",
- "url": "string",
- "service_type_id": 0,
- "service_tag": "string",
- "service_tag_id": 0
}
], - "errors": { },
- "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request creation of a service from JSON data in the request body.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create a service.
active | boolean Whether the service is currently available |
booking_link | string [DEPRECATED]. External booking URL |
service_link | string External service URL |
centre_id required | string Centre this service is available in |
country required | string Enum: "us" "uk" "se" "fr" "es" "nl" "at" "de" "sk" "pl" "dk" "cz" Country in which the centre is |
description required | string Full description of the service |
eligibilities | Array of integers eligibilities requirements of event. |
string Email for the service | |
external_id | string external system ID reference for mapping |
featured | boolean Featured |
Array of objects (ServiceHourBody) | |
image_ref | string Image file name |
level_name | string Level Name |
location_id | string Location identifier |
Array of objects (ServiceLocationBody) | |
long_title required | string Long title for the service |
loyalty_benefit_label | string or null <= 16 characters Label for loyalty benefit |
loyalty_benefit_description | string or null <= 5000 characters loyalty benefit description |
mobile_picto_off | string Off state image for mobile app |
mobile_picto_on | string On state image for mobile app |
phone_number | string Phone number for the service |
picto_off | string Off State |
picto_on | string On State |
price | string Price for the service |
service_type required | string Name of service type |
service_tag required | number Id of service tag |
short_title required | string Short title for the service |
sort_order | integer Order in which the service should appear in lists |
url | string URL for the service |
{- "active": true,
- "booking_link": "string",
- "service_link": "string",
- "centre_id": "string",
- "country": "us",
- "description": "string",
- "eligibilities": [
- 0
], - "email": "string",
- "external_id": "string",
- "featured": true,
- "hours": [
- {
- "label": "string",
- "name": "string",
- "display_order": 0,
- "value": "string"
}
], - "image_ref": "string",
- "level_name": "string",
- "location_id": "string",
- "locations": [
- {
- "label": "string",
- "name": "string",
- "display_order": 0,
- "value": "string"
}
], - "long_title": "string",
- "loyalty_benefit_label": "string",
- "loyalty_benefit_description": "string",
- "mobile_picto_off": "string",
- "mobile_picto_on": "string",
- "phone_number": "string",
- "picto_off": "string",
- "picto_on": "string",
- "price": "string",
- "service_type": "string",
- "service_tag": 0,
- "short_title": "string",
- "sort_order": 0,
- "url": "string"
}
{- "data": {
- "_links": {
}, - "active": true,
- "booking_link": "string",
- "service_link": "string",
- "centre_id": "string",
- "country": "us",
- "description": "string",
- "eligibilities": [
- 0
], - "email": "string",
- "external_id": "string",
- "featured": true,
- "hours": [
- {
- "label": "string",
- "name": "string",
- "display_order": 0,
- "value": "string"
}
], - "level_name": "string",
- "location_id": "string",
- "locations": [
- {
- "label": "string",
- "name": "string",
- "display_order": 0,
- "value": "string"
}
], - "long_title": "string",
- "loyalty_benefit_label": "string",
- "loyalty_benefit_description": "string",
- "mobile_picto_off": "string",
- "mobile_picto_on": "string",
- "phone_number": "string",
- "picto_off": "string",
- "picto_on": "string",
- "price": "string",
- "service_id": 0,
- "service_class": "digital",
- "service_type": "string",
- "short_title": "string",
- "sort_order": 0,
- "updated_at": "2018-03-21T21:43:56.000Z",
- "url": "string",
- "service_type_id": 0,
- "service_tag": "string",
- "service_tag_id": 0
}, - "errors": { },
- "meta": {
- "api_version": "1",
- "available_locales": [
- "en-US",
- "en-GB",
- "en-FR"
], - "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "translatable_fields": [
- "name",
- "description",
- "sports.team_name"
]
}
}
Request a single service.
service_id required | integer Example: 485 Service identifier. Request the service with service_id. |
fields | string Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
locale | string Example: locale=fr Retrieve localized version of level_name, short_title, long_title, description, price fields in response body. |
strict | string When retrieving localized fields with |
{- "data": {
- "_links": {
}, - "active": true,
- "booking_link": "string",
- "service_link": "string",
- "centre_id": "string",
- "country": "us",
- "description": "string",
- "eligibilities": [
- 0
], - "email": "string",
- "external_id": "string",
- "featured": true,
- "hours": [
- {
- "label": "string",
- "name": "string",
- "display_order": 0,
- "value": "string"
}
], - "level_name": "string",
- "location_id": "string",
- "locations": [
- {
- "label": "string",
- "name": "string",
- "display_order": 0,
- "value": "string"
}
], - "long_title": "string",
- "loyalty_benefit_label": "string",
- "loyalty_benefit_description": "string",
- "mobile_picto_off": "string",
- "mobile_picto_on": "string",
- "phone_number": "string",
- "picto_off": "string",
- "picto_on": "string",
- "price": "string",
- "service_id": 0,
- "service_class": "digital",
- "service_type": "string",
- "short_title": "string",
- "sort_order": 0,
- "updated_at": "2018-03-21T21:43:56.000Z",
- "url": "string",
- "service_type_id": 0,
- "service_tag": "string",
- "service_tag_id": 0
}, - "errors": { },
- "meta": {
- "api_version": "1",
- "available_locales": [
- "en-US",
- "en-GB",
- "en-FR"
], - "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "translatable_fields": [
- "name",
- "description",
- "sports.team_name"
]
}
}
Request deletion of a service.
service_id required | integer Example: 485 Service identifier. Request the service with service_id. |
locale | string Example: locale=fr When |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request update of a service from JSON data in the request body.
service_id required | integer Example: 485 Service identifier. Request the service with service_id. |
locale | string Example: locale=fr Update version of level_name, short_title, long_title, description, price fields with provided locale. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a service.
active | boolean Whether the service is currently available |
booking_link | string [DEPRECATED]. External booking URL |
service_link | string External service URL |
centre_id | string Centre this service is available in |
description | string Full description of the service |
eligibilities | Array of integers eligibilities requirements of event. |
string Email for the service | |
external_id | string external system ID reference for mapping |
featured | boolean Featured |
Array of objects (ServiceHourBody) | |
image_ref | string Image file name |
level_name | string Level Name |
location_id | string Location identifier |
Array of objects (ServiceLocationBody) | |
long_title | string Long title for the service |
loyalty_benefit_label | string or null <= 16 characters Label for loyalty benefit |
loyalty_benefit_description | string or null <= 5000 characters loyalty benefit description |
phone_number | string Phone number for the service |
mobile_picto_off | string Off state image for mobile app |
mobile_picto_on | string On state image for mobile app |
picto_off | string Off State |
picto_on | string On State |
price | string Price for the service |
service_type | string Type of service |
short_title | string Short title for the service |
sort_order | integer Order in which the service should appear in lists |
url | string URL for the service |
service_tag | number service tag id |
{- "active": true,
- "booking_link": "string",
- "service_link": "string",
- "centre_id": "string",
- "description": "string",
- "eligibilities": [
- 0
], - "email": "string",
- "external_id": "string",
- "featured": true,
- "hours": [
- {
- "label": "string",
- "name": "string",
- "display_order": 0,
- "value": "string"
}
], - "image_ref": "string",
- "level_name": "string",
- "location_id": "string",
- "locations": [
- {
- "label": "string",
- "name": "string",
- "display_order": 0,
- "value": "string"
}
], - "long_title": "string",
- "loyalty_benefit_label": "string",
- "loyalty_benefit_description": "string",
- "phone_number": "string",
- "mobile_picto_off": "string",
- "mobile_picto_on": "string",
- "picto_off": "string",
- "picto_on": "string",
- "price": "string",
- "service_type": "string",
- "short_title": "string",
- "sort_order": 0,
- "url": "string",
- "service_tag": 0
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request an array of service-types filtered by allowed parameters.
page | number Default: 1 Example: page=2 Results page number. Specific page of results to request when paginating. |
per_page | number <= 100 Default: 10 Example: per_page=25 Results per page. Number of items per result set when paginating. |
service_class | string Enum: "physical" "digital" Example: service_class=digital Filter service types by service class |
updated_since | string <date-time> Example: updated_since=2015-04-02T00:00:00.000Z Updated since. Request the service-types updated since a specific date and time. ISO-8601 format. |
locale | string Example: locale=fr Retrieve localized versions of all service types in response body. |
strict | string When retrieving localized service types with |
fields | string Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
{- "data": [
- {
- "country": "us",
- "name": "string",
- "service_class": "digital",
- "service_type_id": 0,
- "updated_at": "2018-03-21T21:43:56.000Z",
- "service_tags": [
- {
- "name": "string",
- "id": 0
}
]
}
], - "errors": { },
- "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request creation of a service-type from JSON data in the request body.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create a service-type.
country required | string Enum: "us" "uk" "se" "fr" "es" "nl" "at" "de" "sk" "pl" "dk" "cz" "global" Country where the service type is available |
name required | string Name of service type |
service_class required | string Enum: "physical" "digital" Class of the service type |
{- "country": "us",
- "name": "car_wash",
- "service_class": "digital"
}
{- "data": {
- "country": "us",
- "name": "string",
- "service_class": "digital",
- "service_type_id": 0,
- "updated_at": "2018-03-21T21:43:56.000Z",
- "service_tags": [
- {
- "name": "string",
- "id": 0
}
]
}, - "errors": { },
- "meta": {
- "api_version": "1",
- "available_locales": [
- "en-US",
- "en-GB",
- "en-FR"
], - "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "translatable_fields": [
- "name",
- "description",
- "sports.team_name"
]
}
}
Request a single service-type.
service_type_id required | integer Example: 15 Service-type identifier. Request the service-type with service_type_id. |
{- "data": {
- "country": "us",
- "name": "string",
- "service_class": "digital",
- "service_type_id": 0,
- "updated_at": "2018-03-21T21:43:56.000Z",
- "service_tags": [
- {
- "name": "string",
- "id": 0
}
]
}, - "errors": { },
- "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request deletion of a service-type.
service_type_id required | integer Example: 15 Service-type identifier. Request to delete the service-type with service_type_id. |
locale | string Example: locale=fr When |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request update of a service-type from JSON data in the request body.
service_type_id required | integer Example: 15 Service-type identifier. Request to update the service-type with service_type_id. |
locale | string Example: locale=fr Update version of level_name, short_title, long_title, description, price fields with provided locale. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a service-type.
country | string Enum: "us" "uk" "se" "fr" "es" "nl" "at" "de" "sk" "pl" "dk" "cz" "global" Country where the service type is available |
name | string Name of service type |
service_class | string Enum: "physical" "digital" Class of the service type |
{- "country": "us",
- "name": "car_wash",
- "service_class": "digital"
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request service versions.
service_id required | integer Example: 402495 Service identifier. Request the service version with service_id. |
page | number Default: 1 Example: page=2 Results page number. Specific page of results to request when paginating. |
per_page | number <= 100 Default: 10 Example: per_page=25 Results per page. Number of items per result set when paginating. |
sort | string Example: sort=created_at desc,created_at asc Sort results by one field created_at. Change sort order by adding desc or asc after field name |
version_action | string Enum: "create" "update" "destroy" Version Action. Request for versions with action. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": [
- {
- "whodunnit": "string",
- "event": "create",
- "created_at": "2018-03-21T21:43:56Z"
}
], - "errors": { },
- "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request service type versions.
service_type_id required | integer Example: 402495 Service type identifier. Request the service type version with service_id. |
page | number Default: 1 Example: page=2 Results page number. Specific page of results to request when paginating. |
per_page | number <= 100 Default: 10 Example: per_page=25 Results per page. Number of items per result set when paginating. |
sort | string Example: sort=created_at desc,created_at asc Sort results by one field created_at. Change sort order by adding desc or asc after field name |
version_action | string Enum: "create" "update" "destroy" Version Action. Request for versions with action. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": [
- {
- "whodunnit": "string",
- "event": "create",
- "created_at": "2018-03-21T21:43:56Z"
}
], - "errors": { },
- "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}