Download OpenAPI specification:Download
Summary of Westfield API endpoints.
customerId required | string The users' PAS or FID id |
centerId required | string The string center id for the center to be queried |
Authorization required | string |
authType required | string Enum: "PAS" "Fid" |
Data to create a customer.
id | string Identifier of visit (required to update existing one) |
firstName | string First name of customer |
lastName | string <= 1 characters Last name of customer |
externalCustomerId required | string External identifier of customer |
phone | string Phone number of customer |
locationId required | string Identifier of location |
state required | string Enum: "BOOKED" "WAITING" "SERVING" "COMPLETE" "CANCELLED" State of visit |
date | string <date-time> Date and time of booking, must be in ISO 8601 format (required if state is "BOOKED") |
duration | integer Duration of booking in seconds (required if state is "BOOKED") |
partySize | integer Party size (default is 1) |
{- "id": "75u4O97KSlmZ0GZRxw6W",
- "firstName": "John",
- "lastName": "Doe",
- "externalCustomerId": "wf-1234",
- "phone": "+1 123 456 7890",
- "locationId": "TMO3J8PQj1BPXCA7ciZM",
- "state": "BOOKED",
- "date": "2020-04-26T23:33:58.646Z",
- "duration": 1800,
- "partySize": 1
}
{- "data": {
- "customerId": "jS4wsgnjtsp5DrDLFQluib",
- "firstName": "John",
- "lastName": "Doe",
- "externalCustomerId": "wf-1234",
- "phone": "+1 123 456 7890",
- "externalId": "wf-1234",
- "locationId": "TMO3J8PQj1BPXCA7ciZM",
- "isScheduled": true,
- "isFinished": false,
- "state": "WAITING",
- "duration": 1800,
- "date": "2020-04-26T23:33:58.646Z",
- "partySize": 1,
- "id": "jKnlpp7i6elWQGfKAaPK",
- "waitlistTime": "2020-04-26T23:21:59.148Z",
- "position": 2,
- "bookingTime": "2020-04-26T23:33:58.646Z",
- "estWaitDuration": 0,
- "location": {
- "_links": {
}, - "id": "A1sLSsaxPtzjDF4TerTb",
- "store_id": 2345,
- "name": "Nordstrom",
- "retailer_code": "Nordstrom",
- "salience": 0,
- "retailer_name": "string",
- "store_description": "string",
- "store_type_ids": [
- 0
], - "store_zone": "string",
- "status": {
- "ends_at": "2018-06-21T00:00:58.646Z",
- "publish_at": "2018-06-21T00:00:58.646Z",
- "starts_at": "2018-06-21T00:00:58.646Z",
- "state": "pending"
}, - "queue_status": {
- "wait": 300,
- "isBookingOpen": true,
- "isBookingActive": true,
- "isWaitlistOpen": true,
- "isWaitlistActive": true,
- "isWaitlistFull": false,
- "numWaitingGuests": 2,
- "numWaiting": 2,
- "maxPartySize": 10,
- "bookingTimeSlotIncr": 1800,
- "timezone": "Europe/Paris"
}, - "available_bookings": [
- {
- "date": "2020-05-03T15:00:58.646Z",
- "numSpots": 1,
- "numBookedSpots": 0,
- "numAvailableSpots": 1
}
]
}
}, - "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"
]
}
}
customerId required | string The users' PAS or FID id |
centerId required | string The string center id for the center to be queried |
locationId | string The string location id for the location to be filtered on |
Authorization required | string |
authType required | string Enum: "PAS" "Fid" |
[- {
- "customerId": "jS4wsgnjtsp5DrDLFQluib",
- "firstName": "John",
- "lastName": "Doe",
- "externalCustomerId": "wf-1234",
- "phone": "+1 123 456 7890",
- "externalId": "wf-1234",
- "locationId": "TMO3J8PQj1BPXCA7ciZM",
- "isScheduled": true,
- "isFinished": false,
- "state": "WAITING",
- "duration": 1800,
- "date": "2020-04-26T23:33:58.646Z",
- "partySize": 1,
- "id": "jKnlpp7i6elWQGfKAaPK",
- "waitlistTime": "2020-04-26T23:21:59.148Z",
- "position": 2,
- "bookingTime": "2020-04-26T23:33:58.646Z",
- "estWaitDuration": 0,
- "location": {
- "_links": {
}, - "id": "A1sLSsaxPtzjDF4TerTb",
- "store_id": 2345,
- "name": "Nordstrom",
- "retailer_code": "Nordstrom",
- "salience": 0,
- "retailer_name": "string",
- "store_description": "string",
- "store_type_ids": [
- 0
], - "store_zone": "string",
- "status": {
- "ends_at": "2018-06-21T00:00:58.646Z",
- "publish_at": "2018-06-21T00:00:58.646Z",
- "starts_at": "2018-06-21T00:00:58.646Z",
- "state": "pending"
}, - "queue_status": {
- "wait": 300,
- "isBookingOpen": true,
- "isBookingActive": true,
- "isWaitlistOpen": true,
- "isWaitlistActive": true,
- "isWaitlistFull": false,
- "numWaitingGuests": 2,
- "numWaiting": 2,
- "maxPartySize": 10,
- "bookingTimeSlotIncr": 1800,
- "timezone": "Europe/Paris"
}, - "available_bookings": [
- {
- "date": "2020-05-03T15:00:58.646Z",
- "numSpots": 1,
- "numBookedSpots": 0,
- "numAvailableSpots": 1
}
]
}
}
]
customerId required | string The users' PAS or FID id |
visitId required | string The id of the visit |
centerId required | string The string center id for the center to be queried |
Authorization required | string |
authType required | string Enum: "PAS" "Fid" |
{- "data": {
- "customerId": "jS4wsgnjtsp5DrDLFQluib",
- "firstName": "John",
- "lastName": "Doe",
- "externalCustomerId": "wf-1234",
- "phone": "+1 123 456 7890",
- "externalId": "wf-1234",
- "locationId": "TMO3J8PQj1BPXCA7ciZM",
- "isScheduled": true,
- "isFinished": false,
- "state": "WAITING",
- "duration": 1800,
- "date": "2020-04-26T23:33:58.646Z",
- "partySize": 1,
- "id": "jKnlpp7i6elWQGfKAaPK",
- "waitlistTime": "2020-04-26T23:21:59.148Z",
- "position": 2,
- "bookingTime": "2020-04-26T23:33:58.646Z",
- "estWaitDuration": 0,
- "location": {
- "_links": {
}, - "id": "A1sLSsaxPtzjDF4TerTb",
- "store_id": 2345,
- "name": "Nordstrom",
- "retailer_code": "Nordstrom",
- "salience": 0,
- "retailer_name": "string",
- "store_description": "string",
- "store_type_ids": [
- 0
], - "store_zone": "string",
- "status": {
- "ends_at": "2018-06-21T00:00:58.646Z",
- "publish_at": "2018-06-21T00:00:58.646Z",
- "starts_at": "2018-06-21T00:00:58.646Z",
- "state": "pending"
}, - "queue_status": {
- "wait": 300,
- "isBookingOpen": true,
- "isBookingActive": true,
- "isWaitlistOpen": true,
- "isWaitlistActive": true,
- "isWaitlistFull": false,
- "numWaitingGuests": 2,
- "numWaiting": 2,
- "maxPartySize": 10,
- "bookingTimeSlotIncr": 1800,
- "timezone": "Europe/Paris"
}, - "available_bookings": [
- {
- "date": "2020-05-03T15:00:58.646Z",
- "numSpots": 1,
- "numBookedSpots": 0,
- "numAvailableSpots": 1
}
]
}
}, - "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"
]
}
}
centerId required | string The string center id for the center to be queried |
[- {
- "_links": {
}, - "id": "A1sLSsaxPtzjDF4TerTb",
- "store_id": 2345,
- "name": "Nordstrom",
- "retailer_code": "Nordstrom",
- "salience": 0,
- "retailer_name": "string",
- "store_description": "string",
- "store_type_ids": [
- 0
], - "store_zone": "string",
- "status": {
- "ends_at": "2018-06-21T00:00:58.646Z",
- "publish_at": "2018-06-21T00:00:58.646Z",
- "starts_at": "2018-06-21T00:00:58.646Z",
- "state": "pending"
}, - "queue_status": {
- "wait": 300,
- "isBookingOpen": true,
- "isBookingActive": true,
- "isWaitlistOpen": true,
- "isWaitlistActive": true,
- "isWaitlistFull": false,
- "numWaitingGuests": 2,
- "numWaiting": 2,
- "maxPartySize": 10,
- "bookingTimeSlotIncr": 1800,
- "timezone": "Europe/Paris"
}, - "available_bookings": [
- {
- "date": "2020-05-03T15:00:58.646Z",
- "numSpots": 1,
- "numBookedSpots": 0,
- "numAvailableSpots": 1
}
]
}
]
locationId required | string The WaitWhile location id |
centerId required | string The string center id for the center to be queried |
{- "_links": {
}, - "id": "A1sLSsaxPtzjDF4TerTb",
- "store_id": 2345,
- "name": "Nordstrom",
- "retailer_code": "Nordstrom",
- "salience": 0,
- "retailer_name": "string",
- "store_description": "string",
- "store_type_ids": [
- 0
], - "store_zone": "string",
- "status": {
- "ends_at": "2018-06-21T00:00:58.646Z",
- "publish_at": "2018-06-21T00:00:58.646Z",
- "starts_at": "2018-06-21T00:00:58.646Z",
- "state": "pending"
}, - "queue_status": {
- "wait": 300,
- "isBookingOpen": true,
- "isBookingActive": true,
- "isWaitlistOpen": true,
- "isWaitlistActive": true,
- "isWaitlistFull": false,
- "numWaitingGuests": 2,
- "numWaiting": 2,
- "maxPartySize": 10,
- "bookingTimeSlotIncr": 1800,
- "timezone": "Europe/Paris"
}, - "available_bookings": [
- {
- "date": "2020-05-03T15:00:58.646Z",
- "numSpots": 1,
- "numBookedSpots": 0,
- "numAvailableSpots": 1
}
]
}
centre_code required | integer mallcomm centre code to reverse map from |
store_id required | integer mallcomm store id to reverse map from |
role_id required | integer mallcomm role id to reverse map from |
{- "data": { },
- "errors": {
- "resource": [
- "string"
]
}, - "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
}
}