Download OpenAPI specification:Download
Summary of Westfield Category API endpoints.
Request an array of categories.
depth | integer Example: depth=1 Category depth. Request categories with depth. |
fields | Array of strings Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
name | string Example: name=Retailer Category name. Request categories with name. |
path | string Example: path=retailer Category path. Request categories with path. |
page | integer Default: 1 Example: page=1 Results page number. Specific page of results to request when paginating. |
per_page | integer Default: 25 Example: per_page=25 Results per page. Number of items per result set when paginating. |
statuses | Array of strings Statuses. Requests categories that include one of the listed statuses. |
{- "data": [
- {
- "_links": {
}, - "category_id": 0,
- "depth": 0,
- "external_id": "string",
- "external_type": "string",
- "icon": "string",
- "updated_at": "2018-03-21T00:00:00.000Z"
}
], - "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 category 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 category.
enabled required | boolean Enabled category. Category is enabled (true) or not enabled (false). |
parent_id required | integer Parent category identifier. Identifiers to retrieve the parent category related to this category. |
external_id | string External system ID reference for mapping. |
external_type | string External Type reference for Commercial Operations. |
icon | string Icon association to the category. |
{- "enabled": true,
- "parent_id": 0,
- "external_id": "string",
- "external_type": "string",
- "icon": "string"
}
{- "data": {
- "_links": {
}, - "category_id": 0,
- "depth": 0,
- "external_id": "string",
- "external_type": "string",
- "icon": "string",
- "updated_at": "2018-03-21T00:00:00.000Z"
}, - "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 a single category.
category_id required | integer Example: 12345 Category identifier. Request the category with category_id. |
fields | Array of strings Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
{- "data": {
- "_links": {
}, - "category_id": 0,
- "depth": 0,
- "external_id": "string",
- "external_type": "string",
- "icon": "string",
- "updated_at": "2018-03-21T00:00:00.000Z"
}, - "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 category.
category_id required | integer Example: 12345 Category identifier. Request to delete the category with category_id. |
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 category from JSON data in the request body.
category_id required | integer Example: 12345 Category identifier. Request to update the category with category_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a category.
enabled | boolean Enabled category. Category is enabled (true) or not enabled (false). |
external_id | string External system ID reference for mapping. |
external_type | string External Type reference for Commercial Operations. |
icon | string Icon association to the category. |
{- "enabled": true,
- "external_id": "string",
- "external_type": "string",
- "icon": "string"
}
{- "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 category locales.
category_id required | integer Example: 12345 Category identifier. Request the category locales with category_id. |
fields | Array of strings Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
{- "data": [
- {
- "_links": {
}, - "category_id": 0,
- "children_sort_order": [
- 0
], - "description": "string",
- "external_id": "string",
- "external_type": "string",
- "icon": "string",
- "image": "string",
- "indexable": true,
- "locale": "en-US",
- "name": "string",
- "seo_title": "T-Shirts | Men's Fashion | Westfield",
- "slug": "string",
- "state": "string",
- "state_events": [
- "string"
], - "status": {
- "state": "string"
}, - "updated_at": "2018-03-21T00:00:00.000Z",
- "westfield_locale": "en_US"
}
], - "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 locale for category from JSON data in the request body.
category_id required | integer Example: 24585 Category identifier. Request to update the locale with category_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create a locale for category.
category_id required | integer Category identifier. Identifier to retrieve the category. |
external_id | string or null External system ID reference for mapping. |
name required | string Name of locale. |
slug | string Slug of locale. |
westfield_locale required | string Enum: "en_US" "en_UK" "en_GB" "de_AT" "fr_FR" "en_FR" "pl_PL" "ca_ES" "es_ES" "eu_ES" "cs_CZ" "da_DK" "de_DE" "it_IT" "nl_BE" "de_BE" "fr_BE" "nl_NL" "pt_PT" "sk_SK" "sv_SE" "uk_UA" "default" Westfield locale. Four letter ISO code with hyphen or underscore. |
image | string or null |
description | string or null |
indexable | boolean or null Indexable status. |
seo_title | string or null <= 90 characters \\A[ a-zA-Z0-9\\-|!?&$':()\\\\/]*\\z Locale title for SEO purposes. |
state_event | string Enum: "live" "disable" |
children_sort_order | Array of integers Locale identifiers. Array of identifiers to order children. |
{- "category_id": 0,
- "external_id": "string",
- "name": "string",
- "slug": "string",
- "westfield_locale": "en_US",
- "image": "string",
- "description": "string",
- "indexable": true,
- "seo_title": "string",
- "state_event": "live",
- "children_sort_order": [
- 0
]
}
{- "data": {
- "_links": {
}, - "category_id": 0,
- "children_sort_order": [
- 0
], - "description": "string",
- "external_id": "string",
- "external_type": "string",
- "icon": "string",
- "image": "string",
- "indexable": true,
- "locale": "en-US",
- "name": "string",
- "seo_title": "T-Shirts | Men's Fashion | Westfield",
- "slug": "string",
- "state": "string",
- "state_events": [
- "string"
], - "status": {
- "state": "string"
}, - "updated_at": "2018-03-21T00:00:00.000Z",
- "westfield_locale": "en_US"
}, - "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
}
}
Get list of locales for a list of categories.
westfield_locale required | string Enum: "en_US" "en_UK" "en_GB" "de_AT" "fr_FR" "en_FR" "pl_PL" "ca_ES" "es_ES" "eu_ES" "cs_CZ" "da_DK" "de_DE" "it_IT" "nl_BE" "de_BE" "fr_BE" "nl_NL" "pt_PT" "sk_SK" "sv_SE" "uk_UA" "default" Example: en-US | en_US Locale identifier. Four letter ISO code with hyphen or underscore. Request the locale with westfield_locale. |
category_ids required | Array of integers Example: category_ids=12345,2344 Category identifiers. Request categories with these category_ids. |
fields | Array of strings Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
statuses | Array of strings Items Enum: "pending" "preview" "live" "expired" "invalid" "disabled" Statuses. Requests locales that include one of the listed statuses. |
strict | string Default: "false" Example: strict=false If set to false, default/fallback data to be returned if fields for translations does not exist for {westfield_locale} |
{- "data": [
- {
- "_links": {
}, - "category_id": 0,
- "children_sort_order": [
- 0
], - "description": "string",
- "external_id": "string",
- "external_type": "string",
- "icon": "string",
- "image": "string",
- "indexable": true,
- "locale": "en-US",
- "name": "string",
- "seo_title": "T-Shirts | Men's Fashion | Westfield",
- "slug": "string",
- "state": "string",
- "state_events": [
- "string"
], - "status": {
- "state": "string"
}, - "updated_at": "2018-03-21T00:00:00.000Z",
- "westfield_locale": "en_US"
}
], - "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 a single category locale.
category_id required | integer Example: 12345 Category identifier. Request the category with category_id. |
westfield_locale required | string Enum: "en_US" "en_UK" "en_GB" "de_AT" "fr_FR" "en_FR" "pl_PL" "ca_ES" "es_ES" "eu_ES" "cs_CZ" "da_DK" "de_DE" "it_IT" "nl_BE" "de_BE" "fr_BE" "nl_NL" "pt_PT" "sk_SK" "sv_SE" "uk_UA" "default" Example: en-US | en_US Locale identifier. Four letter ISO code with hyphen or underscore. Request the locale with westfield_locale. |
fields | Array of strings Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
strict | string Default: "false" Example: strict=false If set to false, default/fallback data to be returned if fields for translations does not exist for {westfield_locale} |
{- "data": {
- "_links": {
}, - "category_id": 0,
- "children_sort_order": [
- 0
], - "description": "string",
- "external_id": "string",
- "external_type": "string",
- "icon": "string",
- "image": "string",
- "indexable": true,
- "locale": "en-US",
- "name": "string",
- "seo_title": "T-Shirts | Men's Fashion | Westfield",
- "slug": "string",
- "state": "string",
- "state_events": [
- "string"
], - "status": {
- "state": "string"
}, - "updated_at": "2018-03-21T00:00:00.000Z",
- "westfield_locale": "en_US"
}, - "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 locale.
category_id required | integer Example: 24585 Category identifier. Request to update the locale with category_id. |
westfield_locale required | string Enum: "en_US" "en_UK" "en_GB" "de_AT" "fr_FR" "en_FR" "pl_PL" "ca_ES" "es_ES" "eu_ES" "cs_CZ" "da_DK" "de_DE" "it_IT" "nl_BE" "de_BE" "fr_BE" "nl_NL" "pt_PT" "sk_SK" "sv_SE" "uk_UA" "default" Example: en-US | en_US Locale identifier. Four letter ISO code with hyphen or underscore. Request the locale with westfield_locale. |
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 category locale from JSON data in the request body.
category_id required | integer Example: 24585 Category identifier. Request to update the locale with category_id. |
westfield_locale required | string Enum: "en_US" "en_UK" "en_GB" "de_AT" "fr_FR" "en_FR" "pl_PL" "ca_ES" "es_ES" "eu_ES" "cs_CZ" "da_DK" "de_DE" "it_IT" "nl_BE" "de_BE" "fr_BE" "nl_NL" "pt_PT" "sk_SK" "sv_SE" "uk_UA" "default" Example: en-US | en_US Locale identifier. Four letter ISO code with hyphen or underscore. Request the locale with westfield_locale. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a locale.
category_id | integer Category identifier. Identifier to retrieve the category. |
external_id | string or null External system ID reference for mapping. |
external_type | string or null External type of category. |
name | string Name of locale. |
slug | string Slug of locale. |
westfield_locale | string Enum: "en_US" "en_UK" "en_GB" "de_AT" "fr_FR" "en_FR" "pl_PL" "ca_ES" "es_ES" "eu_ES" "cs_CZ" "da_DK" "de_DE" "it_IT" "nl_BE" "de_BE" "fr_BE" "nl_NL" "pt_PT" "sk_SK" "sv_SE" "uk_UA" "default" Westfield locale. Four letter ISO code with hyphen or underscore. |
image | string or null |
description | string or null |
indexable | boolean or null Indexable status. |
seo_title | string or null <= 90 characters \\A[ a-zA-Z0-9\\-|!?&$':()\\\\/]*\\z Locale title for SEO purposes. |
state_event | string Enum: "live" "disable" |
children_sort_order | Array of integers Locale identifiers. Array of identifiers to order children. |
{- "category_id": 0,
- "external_id": "string",
- "external_type": "string",
- "name": "string",
- "slug": "string",
- "westfield_locale": "en_US",
- "image": "string",
- "description": "string",
- "indexable": true,
- "seo_title": "string",
- "state_event": "live",
- "children_sort_order": [
- 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 the children list for a single category and locale.
category_id required | integer Example: 12345 Category identifier. Request the child categories of the parent with category_id. |
westfield_locale required | string Enum: "en_US" "en_UK" "en_GB" "de_AT" "fr_FR" "en_FR" "pl_PL" "ca_ES" "es_ES" "eu_ES" "cs_CZ" "da_DK" "de_DE" "it_IT" "nl_BE" "de_BE" "fr_BE" "nl_NL" "pt_PT" "sk_SK" "sv_SE" "uk_UA" "default" Example: en-US | en_US Locale identifier. Four letter ISO code with hyphen or underscore. Request the locale with westfield_locale. |
depth | integer Example: depth=1 Category depth. Request categories with depth. |
fields | Array of strings Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
updated_since | string <date-time> Example: updated_since=2015-04-02T00:00:00.000Z Updated since. Request the categories updated since a specific date and time. ISO-8601 format. |
strict | string Default: "false" Example: strict=false If set to false, default/fallback data to be returned if fields for translations does not exist for {westfield_locale} |
{- "data": [
- {
- "_links": {
}, - "category_id": 0,
- "children": [ ],
- "children_sort_order": [
- 0
], - "depth": 0,
- "description": "string",
- "external_type": "string",
- "icon": "string",
- "image": "string",
- "locale": "en-US",
- "name": "string",
- "path": "string",
- "seo_title": "T-Shirts | Men's Fashion | Westfield",
- "slug": "string",
- "sort_order": 0,
- "state": "string",
- "status": {
- "state": "string"
}, - "updated_at": "2018-03-21T00:00:00.000Z",
- "westfield_locale": "en_US"
}
], - "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 the children tree for a single category and locale.
category_id required | integer Example: 12345 Category identifier. Filter child categories of the parent with category_id. |
westfield_locale required | string Enum: "en_US" "en_UK" "en_GB" "de_AT" "fr_FR" "en_FR" "pl_PL" "ca_ES" "es_ES" "eu_ES" "cs_CZ" "da_DK" "de_DE" "it_IT" "nl_BE" "de_BE" "fr_BE" "nl_NL" "pt_PT" "sk_SK" "sv_SE" "uk_UA" "default" Example: en-US | en_US Locale identifier. Four letter ISO code with hyphen or underscore. Request the locale with westfield_locale. |
depth | integer Example: depth=1 Category depth. Request categories with depth. |
fields | Array of strings Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
strict | string Default: "false" Example: strict=false If set to false, default/fallback data to be returned if fields for translations does not exist for {westfield_locale} |
{- "data": {
- "_links": {
}, - "category_id": 0,
- "children": [ ],
- "children_sort_order": [
- 0
], - "depth": 0,
- "description": "string",
- "external_type": "string",
- "icon": "string",
- "image": "string",
- "locale": "en-US",
- "name": "string",
- "path": "string",
- "seo_title": "T-Shirts | Men's Fashion | Westfield",
- "slug": "string",
- "sort_order": 0,
- "state": "string",
- "status": {
- "state": "string"
}, - "updated_at": "2018-03-21T00:00:00.000Z",
- "westfield_locale": "en_US"
}, - "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 all parents for a single category as a list. The list is ordered from the top parent down to the category.
category_id required | integer Example: 12345 Category identifier. Filter child categories of the parent with category_id. |
westfield_locale required | string Enum: "en_US" "en_UK" "en_GB" "de_AT" "fr_FR" "en_FR" "pl_PL" "ca_ES" "es_ES" "eu_ES" "cs_CZ" "da_DK" "de_DE" "it_IT" "nl_BE" "de_BE" "fr_BE" "nl_NL" "pt_PT" "sk_SK" "sv_SE" "uk_UA" "default" Example: en-US | en_US Locale identifier. Four letter ISO code with hyphen or underscore. Request the locale with westfield_locale. |
fields | Array of strings Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
updated_since | string <date-time> Example: updated_since=2015-04-02T00:00:00.000Z Updated since. Request the categories updated since a specific date and time. ISO-8601 format. |
strict | string Default: "false" Example: strict=false If set to false, default/fallback data to be returned if fields for translations does not exist for {westfield_locale} |
{- "data": [
- {
- "_links": {
}, - "category_id": 0,
- "children": [ ],
- "children_sort_order": [
- 0
], - "depth": 0,
- "description": "string",
- "external_type": "string",
- "icon": "string",
- "image": "string",
- "locale": "en-US",
- "name": "string",
- "path": "string",
- "seo_title": "T-Shirts | Men's Fashion | Westfield",
- "slug": "string",
- "sort_order": 0,
- "state": "string",
- "status": {
- "state": "string"
}, - "updated_at": "2018-03-21T00:00:00.000Z",
- "westfield_locale": "en_US"
}
], - "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 groups.
country | string Example: country=<%= COUNTRIES[0] %> Country filter. |
group_ids | Array of integers Example: group_ids=1 Group identifiers to use as a filter. |
category_ids | Array of integers Example: category_ids=1 Category identifiers to use as a filter. |
page | integer Default: 1 Example: page=1 Results page number. Specific page of results to request when paginating. |
per_page | integer Default: 25 Example: per_page=25 Results per page. Number of items per result set when paginating. |
{- "data": [
- {
- "category_ids": [
- 0
], - "country": "us",
- "group_id": 0,
- "name": "string",
- "updated_at": "2018-03-21T00:00:00.000Z"
}
], - "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 category group 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 group.
name required | string Group name. |
country required | string Enum: "us" "uk" "se" "fr" "es" "nl" "at" "de" "sk" "pl" "dk" "cz" "it" "be" "pt" "ua" Country. One per group. |
category_ids required | Array of integers Identifiers for categories in this group. |
{- "name": "string",
- "country": "us",
- "category_ids": [
- 0
]
}
{- "data": {
- "category_ids": [
- 0
], - "country": "us",
- "group_id": 0,
- "name": "string",
- "updated_at": "2018-03-21T00:00:00.000Z"
}, - "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 a single category group.
group_id required | integer Example: 12345 Group identifier. Request the group with group_id. |
{- "data": {
- "category_ids": [
- 0
], - "country": "us",
- "group_id": 0,
- "name": "string",
- "updated_at": "2018-03-21T00:00:00.000Z"
}, - "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 group.
group_id required | integer Example: 12345 Group identifier. Request to delete the group with group_id. |
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 group from JSON data in the request body.
group_id required | integer Example: 12345 Group identifier. Request to update the group with group_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a group.
name | string Group name. |
country | string Enum: "us" "uk" "se" "fr" "es" "nl" "at" "de" "sk" "pl" "dk" "cz" "it" "be" "pt" "ua" Country. One per group. |
category_ids | Array of integers Identifiers for categories in this group. |
{- "name": "string",
- "country": "us",
- "category_ids": [
- 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 category versions.
category_id required | integer Example: 402495 Category identifier. Request the category version with category_id. |
westfield_locale required | string Enum: "en_US" "en_UK" "en_GB" "de_AT" "fr_FR" "en_FR" "pl_PL" "ca_ES" "es_ES" "eu_ES" "cs_CZ" "da_DK" "de_DE" "it_IT" "nl_BE" "de_BE" "fr_BE" "nl_NL" "pt_PT" "sk_SK" "sv_SE" "uk_UA" "default" Example: en-US | en_US Locale identifier. Four letter ISO code with hyphen or underscore. Request the locale with westfield_locale. |
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
}
}