Get browsing metadata and coverage definitions
curl --request GET \
--url http://127.0.0.1:5185/v1/metaconst options = {method: 'GET'};
fetch('http://127.0.0.1:5185/v1/meta', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://127.0.0.1:5185/v1/meta"
response = requests.get(url)
print(response.text){
"data": {
"categories": [
{
"id": "<string>",
"parent_id": "<string>",
"name": "<string>",
"source_mappings": [
{
"level": "division",
"code": "<string>",
"name_raw": "<string>"
}
]
}
],
"brands": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"product_count": 2
}
],
"statuses": [
{
"code": "<string>",
"label": "<string>",
"lifecycle": "active",
"ordinary_consumer_default": "eligible"
}
],
"availability_values": [
"any"
],
"purchase_eligibility_values": [
"eligible"
],
"dabs_flag_filters": [
{
"parameter": "dabs_new_item",
"source_field": "newItem",
"semantics": "source_flag_unverified"
}
],
"product_sort_values": [
"<string>"
],
"store_sort_values": [
"<string>"
],
"limits": {
"default_page_size": 123,
"maximum_page_size": 123,
"maximum_store_ids": 123,
"maximum_brand_ids": 123,
"cursor_ttl_seconds": 123
},
"retrieval_policies": [
{
"id": "<string>",
"max_age_seconds": 2,
"upstream_age_known": false,
"description": "<string>"
}
],
"catalog_universes": [
{
"id": "<string>",
"label": "<string>",
"product_count": 1,
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at_min": "2023-11-07T05:31:56Z",
"retrieved_at_max": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z",
"collection_state": "complete_batch",
"definition": "<string>"
}
]
},
"meta": {
"snapshot": {
"publication_revision": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"published_at": "2023-11-07T05:31:56Z",
"cursor_expires_at": "2023-11-07T05:31:56Z"
},
"warnings": [
{
"code": "INVENTORY_COVERAGE_PARTIAL",
"message": "<string>"
}
]
}
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
]
}Get browsing metadata and coverage definitions
Get browsing metadata and coverage definitions
curl --request GET \
--url http://127.0.0.1:5185/v1/metaconst options = {method: 'GET'};
fetch('http://127.0.0.1:5185/v1/meta', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://127.0.0.1:5185/v1/meta"
response = requests.get(url)
print(response.text){
"data": {
"categories": [
{
"id": "<string>",
"parent_id": "<string>",
"name": "<string>",
"source_mappings": [
{
"level": "division",
"code": "<string>",
"name_raw": "<string>"
}
]
}
],
"brands": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"product_count": 2
}
],
"statuses": [
{
"code": "<string>",
"label": "<string>",
"lifecycle": "active",
"ordinary_consumer_default": "eligible"
}
],
"availability_values": [
"any"
],
"purchase_eligibility_values": [
"eligible"
],
"dabs_flag_filters": [
{
"parameter": "dabs_new_item",
"source_field": "newItem",
"semantics": "source_flag_unverified"
}
],
"product_sort_values": [
"<string>"
],
"store_sort_values": [
"<string>"
],
"limits": {
"default_page_size": 123,
"maximum_page_size": 123,
"maximum_store_ids": 123,
"maximum_brand_ids": 123,
"cursor_ttl_seconds": 123
},
"retrieval_policies": [
{
"id": "<string>",
"max_age_seconds": 2,
"upstream_age_known": false,
"description": "<string>"
}
],
"catalog_universes": [
{
"id": "<string>",
"label": "<string>",
"product_count": 1,
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at_min": "2023-11-07T05:31:56Z",
"retrieved_at_max": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z",
"collection_state": "complete_batch",
"definition": "<string>"
}
]
},
"meta": {
"snapshot": {
"publication_revision": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"published_at": "2023-11-07T05:31:56Z",
"cursor_expires_at": "2023-11-07T05:31:56Z"
},
"warnings": [
{
"code": "INVENTORY_COVERAGE_PARTIAL",
"message": "<string>"
}
]
}
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
]
}