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
}
],
"product_families": [
{
"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_intelligence": {
"version": "product-intelligence-v2",
"empty_values_mean": "unknown",
"filters": {
"wine_varietals": [
{
"value": "<string>",
"label": "<string>"
}
],
"beverage_styles": [
{
"value": "<string>",
"label": "<string>"
}
],
"origin_country_codes": [
{
"value": "<string>",
"label": "<string>"
}
],
"production_designations": [
{
"value": "<string>",
"label": "<string>"
}
]
}
},
"store_service_values": [
"refrigerated_beer"
],
"store_operational_status_values": [
"open"
],
"product_family_relationship_values": [
"expression"
],
"availability_comparison_strategy_values": [
"best_single_store"
],
"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,
"maximum_family_ids": 123,
"maximum_comparison_product_ids": 25,
"maximum_comparison_stops": 3,
"maximum_inventory_matrix_products": 25,
"maximum_inventory_matrix_stores": 25,
"maximum_inventory_matrix_pairs": 625,
"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": {
"warnings": [
{
"code": "INVENTORY_COVERAGE_PARTIAL"
}
],
"freshness": {
"catalog": {
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z"
},
"inventory": {
"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",
"upstream_age_known": false
}
}
}
}{
"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
}
],
"product_families": [
{
"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_intelligence": {
"version": "product-intelligence-v2",
"empty_values_mean": "unknown",
"filters": {
"wine_varietals": [
{
"value": "<string>",
"label": "<string>"
}
],
"beverage_styles": [
{
"value": "<string>",
"label": "<string>"
}
],
"origin_country_codes": [
{
"value": "<string>",
"label": "<string>"
}
],
"production_designations": [
{
"value": "<string>",
"label": "<string>"
}
]
}
},
"store_service_values": [
"refrigerated_beer"
],
"store_operational_status_values": [
"open"
],
"product_family_relationship_values": [
"expression"
],
"availability_comparison_strategy_values": [
"best_single_store"
],
"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,
"maximum_family_ids": 123,
"maximum_comparison_product_ids": 25,
"maximum_comparison_stops": 3,
"maximum_inventory_matrix_products": 25,
"maximum_inventory_matrix_stores": 25,
"maximum_inventory_matrix_pairs": 625,
"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": {
"warnings": [
{
"code": "INVENTORY_COVERAGE_PARTIAL"
}
],
"freshness": {
"catalog": {
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z"
},
"inventory": {
"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",
"upstream_age_known": false
}
}
}
}{
"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>"
}
]
}