Resolve a current Utah DABS SKU
curl --request GET \
--url http://127.0.0.1:5185/v1/products/by-sku/{sku}const options = {method: 'GET'};
fetch('http://127.0.0.1:5185/v1/products/by-sku/{sku}', 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/products/by-sku/{sku}"
response = requests.get(url)
print(response.text){
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_ids": {
"utah_dabs_sku": "347210"
},
"name": "<string>",
"brand": "<string>",
"brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"brand_slug": "<string>",
"package_size": {
"milliliters": 2,
"display": "<string>",
"normalization_state": "normalized"
},
"price": {
"amount_minor": 1,
"currency": "USD",
"display": "$19.99",
"source": "utah_dabs_workbook",
"times": {
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z"
}
},
"status": {
"code": "1",
"label": "General distribution",
"lifecycle": "active",
"source_raw": "<string>"
},
"categories": [
{
"id": "<string>",
"name": "<string>"
}
],
"catalog_times": {
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z"
},
"dabs_flags": {
"new_item_raw": true,
"on_spa_raw": true,
"semantics": "source_flags_unverified",
"times": {
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z"
}
},
"availability_summary": {
"scope_store_count": 1,
"reported_positive_store_count": 1,
"eligible_positive_store_count": 1,
"reported_zero_store_count": 1,
"row_absent_store_count": 1,
"unchecked_store_count": 1,
"retrieved_at_min": "2023-11-07T05:31:56Z",
"retrieved_at_max": "2023-11-07T05:31:56Z",
"retrieval_policy_id": "<string>",
"meets_retrieval_policy": true,
"upstream_age_known": false,
"last_refresh_attempt": {
"attempted_at": "2023-11-07T05:31:56Z",
"status": "succeeded"
}
},
"source_fields": {
"utah_dabs_workbook": {
"sku_raw": "<string>",
"name_raw": "<string>",
"size_value_raw": "<string>",
"size_unit_raw": "<string>",
"status_raw": "<string>",
"display_group_raw": "<string>",
"div_code_raw": "<string>",
"dept_code_raw": "<string>",
"class_code_raw": "<string>",
"price_raw": "<string>"
},
"utah_dabs_locator": {
"sku_raw": "<string>",
"name_raw": "<string>",
"size_value_raw": "<string>",
"size_unit_raw": "<string>",
"status_raw": "<string>",
"display_group_raw": "<string>",
"div_code_raw": "<string>",
"dept_code_raw": "<string>",
"class_code_raw": "<string>",
"price_raw": "<string>"
}
},
"aggregate_inventory": {
"warehouse_quantity_reported": 1,
"aggregate_store_quantity_reported": 1,
"on_order_quantity_reported": 1,
"in_stock_flag_raw": true,
"quantity_semantics": "dabs_reported_unverified",
"times": {
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z"
}
},
"name_components": {
"product_name": "<string>",
"expression": "<string>",
"age_statement": "<string>",
"pack_count": 2
},
"attributes": {
"vintage_year": 1999,
"proof": 120,
"package_form": "can",
"beverage_styles": [
"blanco"
],
"production_designations": [
"bottled_in_bond"
],
"certifications": [
"kosher_for_passover_mevushal"
],
"source_programs": [
"special_order"
]
}
},
"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>"
}
]
}{
"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>"
}
]
}Resolve a current Utah DABS SKU
Resolves only the current published active mapping. Leading zeroes are required.
Resolve a current Utah DABS SKU
curl --request GET \
--url http://127.0.0.1:5185/v1/products/by-sku/{sku}const options = {method: 'GET'};
fetch('http://127.0.0.1:5185/v1/products/by-sku/{sku}', 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/products/by-sku/{sku}"
response = requests.get(url)
print(response.text){
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_ids": {
"utah_dabs_sku": "347210"
},
"name": "<string>",
"brand": "<string>",
"brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"brand_slug": "<string>",
"package_size": {
"milliliters": 2,
"display": "<string>",
"normalization_state": "normalized"
},
"price": {
"amount_minor": 1,
"currency": "USD",
"display": "$19.99",
"source": "utah_dabs_workbook",
"times": {
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z"
}
},
"status": {
"code": "1",
"label": "General distribution",
"lifecycle": "active",
"source_raw": "<string>"
},
"categories": [
{
"id": "<string>",
"name": "<string>"
}
],
"catalog_times": {
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z"
},
"dabs_flags": {
"new_item_raw": true,
"on_spa_raw": true,
"semantics": "source_flags_unverified",
"times": {
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z"
}
},
"availability_summary": {
"scope_store_count": 1,
"reported_positive_store_count": 1,
"eligible_positive_store_count": 1,
"reported_zero_store_count": 1,
"row_absent_store_count": 1,
"unchecked_store_count": 1,
"retrieved_at_min": "2023-11-07T05:31:56Z",
"retrieved_at_max": "2023-11-07T05:31:56Z",
"retrieval_policy_id": "<string>",
"meets_retrieval_policy": true,
"upstream_age_known": false,
"last_refresh_attempt": {
"attempted_at": "2023-11-07T05:31:56Z",
"status": "succeeded"
}
},
"source_fields": {
"utah_dabs_workbook": {
"sku_raw": "<string>",
"name_raw": "<string>",
"size_value_raw": "<string>",
"size_unit_raw": "<string>",
"status_raw": "<string>",
"display_group_raw": "<string>",
"div_code_raw": "<string>",
"dept_code_raw": "<string>",
"class_code_raw": "<string>",
"price_raw": "<string>"
},
"utah_dabs_locator": {
"sku_raw": "<string>",
"name_raw": "<string>",
"size_value_raw": "<string>",
"size_unit_raw": "<string>",
"status_raw": "<string>",
"display_group_raw": "<string>",
"div_code_raw": "<string>",
"dept_code_raw": "<string>",
"class_code_raw": "<string>",
"price_raw": "<string>"
}
},
"aggregate_inventory": {
"warehouse_quantity_reported": 1,
"aggregate_store_quantity_reported": 1,
"on_order_quantity_reported": 1,
"in_stock_flag_raw": true,
"quantity_semantics": "dabs_reported_unverified",
"times": {
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z"
}
},
"name_components": {
"product_name": "<string>",
"expression": "<string>",
"age_statement": "<string>",
"pack_count": 2
},
"attributes": {
"vintage_year": 1999,
"proof": 120,
"package_form": "can",
"beverage_styles": [
"blanco"
],
"production_designations": [
"bottled_in_bond"
],
"certifications": [
"kosher_for_passover_mevushal"
],
"source_programs": [
"special_order"
]
}
},
"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>"
}
]
}{
"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>"
}
]
}Headers
Strong entity tag from an earlier response.
HTTP-date fallback validator. ETag takes precedence.
Path Parameters
Exact six-character Utah DABS CSC/SKU, including leading zeroes.
Pattern:
^[0-9]{6}$Examples:
"347210"
"004190"