Base path: /v1/backend/integrations/bees/items
Headers (all endpoints):
Authorization: Bearer <token>
x-app-stage: <stage>
x-app-uid: <application_uuid>
Middleware: company-validator, online-store-validator, bees-request-logger.
Returns one row per online store product measure (presentation) for the store and distribution center. Source: online_store_product_measures via ListBeesItemsAction (not mv_bees_products_all).
| Parameter | Required | Description |
|---|---|---|
companyId |
Yes | Company scope |
storeId |
Yes | Online store id |
distributionCenterId |
Yes | Online store distribution center id |
code |
No | Filter by master product code |
raw_mode |
No | When truthy, returns a flat array suited for CLI/promotions validation |
includeInactives |
No | When truthy, include inactive / not-for-sale measures (default: active + for sale only) |
200Standard ActionResult:
{
"success": true,
"message": "Productos obtenidos correctamente",
"data": [
{
"id": 12045,
"code": "ROMA1234",
"name": "Producto ejemplo : PQT x 6",
"description": "",
"brand_code": "BR01",
"brand_name": "Marca",
"supplier_catalog_code": "ROMA1234",
"product_enabled": true,
"unitMeasure": "PQT",
"factor": 6
}
]
}
id is the store measure id (distinct per presentation). BEES assortment and promotion keys use productCode + unitMeasure, not this id.
When raw_mode is set, data is an array of:
| Field | Description |
|---|---|
id |
Store measure id |
code |
Product code |
name |
Display name with optional : {UM} x {factor} suffix |
unit_measure |
BEES unit measure code |
factor |
Conversion factor |
brand_code, brand_name |
From product brand |
supplier_catalog_code |
From product |
for_sale |
Y or N (measure and product must both be for sale for Y) |
| Code | When |
|---|---|
200 |
Success (empty data if no measures — run store measure sync first) |
401 |
Missing or invalid token |
403 |
Forbidden |
404 |
Company/store/DC not found |
422 |
Scope validation failed |
500 |
Unexpected error |
product_unit_measures maintained for SKUs.SyncOnlineStoreProductMeasuresAction (or goal:online-stores sync-measures) for the store + DC.See also: BEES integration and backend docs/integrations/bees/BEES_PRICES_AND_STORE_MEASURES.md.