Skip to main content

E-Commerce Catalog Events

List of Catalogs

CatalogDescription
Drug CatalogCatalog representing values for Drugs/meds in the app.
Grocery CatalogCatalog representing values for Grocery items in the app.
Medical Equipment CatalogCatalog representing values for Medical Equipment in the app.
Blood CatalogCatalog representing values for Blood items in the app.
Oxygen CatalogCatalog representing values for Oxygen items in the app.
Facility CatalogCatalog representing values for Facility such as clinic, hospital, pharmacy.


"Required Catalog Fields"

Some catalog fields can be marked as optional below but may be required for your app. Please refer to your integration notes to verify which fields are required for your use-case.

Drug Catalog

Below are the Drug Catalog values.

Format

ParamUsabilityFormatDescription
nameREQUIREDSTRINGName of the drug, provided by the partner.
descriptionOPTIONALSTRINGDescription of the drug, provided by the partner.
drug_formOPTIONALSTRINGDrug Form of the drug, provided by the partner.
drug_strengthOPTIONALSTRINGDrug Strength of the drug, provided by the partner.
active_ingredientsOPTIONALARRAY(STRING)Ingredients of the drug, provided by the partner.
atc_anatomical_groupOPTIONALSTRINGAtc Anatomical Group of the drug, provided by the partner.
otc_or_ethicalOPTIONALSTRINGif the drug is OTC or Ethical, provided by the partner.
market_idOPTIONALSTRINGMarket Id of the drug where it is available, provided by the partner. Probably country code.
packagingOPTIONALSTRINGPackaging of the drug, provided by the partner.
producerOPTIONALSTRINGProducer of the drug, provided by the partner.
supplier_idOPTIONALSTRINGSupplier Id of the drug, provided by the partner.
supplier_nameOPTIONALSTRINGSupplier Name of the drug, provided by the partner.

Usage

    val drugProperties = DrugCatalogModel(
name = "HelloDrug",
marketId = "ID",
description = "test, test 2",
supplierId = "sup1",
supplierName = "sup",
producer = "prod1",
packaging = null,
activeIngredients = listOf("item1", "item1"),
drugForm = null,
drugStrength = null,
atcAnatomicalGroup = null,
otcOrEthical = null
)
CFEComEvent.logCatalog(EComCatalogType.Drug, "someDruGIS", drugProperties)


Grocery Catalog

Below are the Grocery Catalog values.

Format

ParamUsabilityFormatDescription
nameREQUIREDSTRINGName of the grocery item, provided by the partner.
descriptionOPTIONALSTRINGDescription of the grocery item, provided by the partner.
categoryOPTIONALSTRINGCategory of the grocery item, provided by the partner.
active_ingredientsOPTIONALARRAY(STRING)Ingredients of the grocery item, provided by the partner.
market_idOPTIONALSTRINGMarket Id of the grocery item where it is available, provided by the partner. Probably country code.
packagingOPTIONALSTRINGPackaging of the grocery item, provided by the partner.
packaging_sizeOPTIONALFLOATPackaging Size of the grocery item, provided by the partner.
packaging_unitsOPTIONALSTRINGPackaging Units of the grocery item, provided by the partner.
producerOPTIONALSTRINGProducer of the grocery item, provided by the partner.
supplier_idOPTIONALSTRINGSupplier Id of the grocery item, provided by the partner.
supplier_nameOPTIONALSTRINGSupplier Name of the grocery item, provided by the partner.

Usage

    val groceryProperties = GroceryCatalogModel(
name = "HelloDrug", category = "Food&Drinks", marketId = "ES", description = "test",
supplierId = "sup1", supplierName = "sup", producer = "prod1", packaging = "box",
packagingSize = "12f", packagingUnits = "units", activeIngredients = listOf("item1", "item1")
)
CFEComEvent.logCatalog(EComCatalogType.Grocery, "someGroceryIS",groceryProperties)


Medical Equipment Catalog

Below are the Medical Equipment Catalog values.

Format

ParamUsabilityFormatDescription
nameREQUIREDSTRINGName for Medical Equipment where it is available, provided by the partner.
descriptionOPTIONALSTRINGDescription for Medical Equipment where it is available, provided by the partner.
market_idOPTIONALSTRINGMarket Id for Medical Equipment where it is available, provided by the partner. Probably country code.
packagingOPTIONALSTRINGPackaging for Medical Equipment, provided by the partner.
packaging_sizeOPTIONALFLOATPackaging Size for Medical Equipment, provided by the partner.
packaging_unitsOPTIONALSTRINGPackaging Units for Medical Equipment, provided by the partner.
supplier_idOPTIONALSTRINGSupplier Id of the Medical Equipment, provided by the partner.
supplier_nameOPTIONALSTRINGSupplier Name of the Medical Equipment, provided by the partner.
categoryOPTIONALSTRINGCategory of the Medical Equipment, provided by the partner.
producerOPTIONALSTRINGProducer name of the Medical Equipment, provided by the partner.

Usage

     val medicalEquipmentCatalogModel = MedicalEquipmentCatalogModel(
name = "HelloDrug Syringe 3ml",
description = "",
marketId = "ES",
supplierId = "supId",
supplierName = "testSupplierName",
producer = "",
packaging = "carton",
packagingSize = "50f",
packagingUnits = "units",
category = ""
)
CFEComEvent.logCatalog(EComCatalogType.MedicalEquipment, "someMedicalEquipmentIS", medicalEquipmentCatalogModel)


Blood Catalog

Below are the Blood Catalog values.

Format

ParamUsabilityFormatDescription
blood_groupREQUIREDSTRINGBlood Group for blood, provided by the partner.
blood_componentOPTIONALSTRINGBlood Component for blood, provided by the partner.
market_idOPTIONALSTRINGMarket Id for blood where it is available, provided by the partner. Probably country code.
packagingOPTIONALSTRINGPackaging for blood, provided by the partner.
packaging_sizeOPTIONALFLOATPackaging Size for blood bag, provided by the partner.
packaging_unitsOPTIONALSTRINGPackaging Units for blood bag, provided by the partner.
supplier_idOPTIONALSTRINGSupplier Id of the blood, provided by the partner.
supplier_nameOPTIONALSTRINGSupplier Name of the blood, provided by the partner.


Oxygen Catalog

Below are the Oxygen Catalog values.

Format

ParamUsabilityFormatDescription
market_idOPTIONALSTRINGMarket Id for oxygen where it is available, provided by the partner. Probably country code.
packagingOPTIONALSTRINGPackaging for oxygen, provided by the partner.
packaging_sizeOPTIONALFLOATPackaging Size for oxygen cylinder, provided by the partner.
packaging_unitsOPTIONALSTRINGPackaging Units for oxygen cylinder, provided by the partner.
supplier_idOPTIONALSTRINGSupplier Id of the oxygen, provided by the partner.
supplier_nameOPTIONALSTRINGSupplier Name of the oxygen, provided by the partner.


Facility Catalog

[DEPRECATED] Facility catalog is deprecated, please use Site Catalog from Core Module