LogoLogo
  • Erudus API
  • Change Log
  • Getting Started
    • Introduction
    • Authentication
    • Testing with Sandbox
    • Migrating from API v1
    • Responses and Error Codes
    • Other Information
  • erudus.com
  • API Reference
    • Products
  • Wholesaler Catalogs
  • Images
  • Manage Products
  • Manufacturers
  • Labels
Powered by GitBook
On this page

Wholesaler Catalogs

Access and manage Wholesaler Product Catalogs.

PreviousProductsNextImages

Last updated 1 month ago

A Wholesaler Catalog contains products listed by the Wholesaler's own internal product codes. These can be attached to specific versions of products and so can therefore be different to the version of the product held as the latest version in the main data pool.

List Catalog Products

get

Get a list of products from a Wholesaler catalog. I.e. products that have a wholesaler product code attached.

Authorizations
Path parameters
wholesalerintegerRequired

The Wholesaler ID.

Example: 1234
Query parameters
sortstringOptional

Sort results by cataloged_at, changed_at, manufacturer_product_name, product_code. Prefixing with a hyphen will reverse order. Defaults to '-changed_at'.

Example: -cataloged_at
filter[manufacturer]integerOptional

Filter by ID of manufacturer.

Example: 23
filter[brand]integerOptional

Filter by ID of brand.

Example: 2
filter[label]integerOptional

Filter by ID of label.

Example: 3
filter[changed_at]stringOptional

Filter by date of product change equal to (eq:), greater than (gt:) or less than a date (lt:).

Example: gt:2024-10-12
filter[cataloged_at]stringOptional

Filter by date of product cataloged_at or product changed_at, equal to (eq:), greater than (gt:) or less than a date (lt:).

Example: gt:2024-10-12
pageintegerOptional

Page of result set.

Example: 1
limitintegerOptional

Number of records per page. Example 10

Example: 15
Responses
200Success
application/json
Responseone of
or
get
GET /v2/catalogs/{wholesaler} HTTP/1.1
Host: api.erudus.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200Success
{
  "page": 1,
  "per page": 2,
  "pages": 113,
  "total": 226,
  "data": [
    {
      "product_code": "0964",
      "erudus_id": "f78384b57dce4dd8a526b599e016ae44",
      "version": "1.1",
      "version_dismissed": null,
      "component_uuid": null,
      "status": "published",
      "changed_at": "2024-07-02 14:25:26",
      "latest_version": "1.1",
      "latest_at": "2024-07-02 14:25:26",
      "schema": "drinks",
      "schema_name": "Drinks",
      "manufacturer_product_name": "Müller Milk FRijj® Banana Flavour Milkshake",
      "product_name": "FRijj Banana Flavour Milkshake",
      "standardised_name": "Frijj Banana Flavour Milkshake 10x400ml",
      "manufacturer_product_code": "MIFRUBAN400M",
      "traded_unit_gtin": null,
      "manufacturer_version_number": null,
      "manufacturer": 663,
      "manufacturer_name": "Central Supplies Ltd",
      "brand": 0,
      "brand_name": "Central Supplies Ltd",
      "label": 0,
      "label_name": null,
      "label_code": null,
      "components": [
        {
          "component_uuid": "1130b6a5322a4176b93fe74a5f5f3710",
          "component_name": null,
          "internal_gtin": null,
          "manufacturers_component_code": null
        }
      ],
      "parent_id": null,
      "change_type": "revision",
      "change_reason": "Revision",
      "reviewed_at": "2024-07-02 14:25:27"
    },
    {
      "product_code": "1016E",
      "erudus_id": "9d27517867c14b99bb523c6761af2dfe",
      "version": "2.0",
      "version_dismissed": null,
      "component_uuid": null,
      "status": "published",
      "changed_at": "2024-06-17 11:36:10",
      "latest_version": "2.0",
      "latest_at": "2024-06-17 11:36:10",
      "schema": "generic",
      "schema_name": "Generic",
      "manufacturer_product_name": "Himalayan Pink Salt, 350g",
      "product_name": "Himalayan Pink Salt",
      "standardised_name": "Himalayan Pink Salt 12x350g",
      "manufacturer_product_code": "HAS075",
      "traded_unit_gtin": "5060103919048",
      "manufacturer_version_number": null,
      "manufacturer": 670,
      "manufacturer_name": "Centaur Foods Ltd",
      "brand": 0,
      "brand_name": "Centaur Foods Ltd",
      "label": 0,
      "label_name": null,
      "label_code": null,
      "components": [
        {
          "component_uuid": "7ac4eee68d20409c9dd8fcec80eac56a",
          "component_name": null,
          "internal_gtin": "5060103919048",
          "manufacturers_component_code": null
        }
      ],
      "parent_id": null,
      "change_type": "revision",
      "change_reason": "May contain information update",
      "reviewed_at": "2024-06-17 11:36:10"
    }
  ]
}

Get Catalog Product

get

Get a product using the Wholesaler product code.

This will return the specific version of the product to which the product code is attached in the Wholesaler's catalog.

Authorizations
Path parameters
wholesalerintegerRequired

The Wholesaler ID.

Example: 1234
codestringRequired

The Wholesaler code for the product.

Example: 124ABC
Query parameters
outputstringOptional

Sets an alternative output format to raw, flat or ungroup.

Example: output=ungroup
Responses
200Success
application/json
404Error
application/json
get
GET /v2/catalogs/{wholesaler}/{code} HTTP/1.1
Host: api.erudus.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": {
    "erudus_id": "f78384b57dce4dd8a526b599e016ae44",
    "version": "1.1",
    "version_dismissed": null,
    "component_uuid": null,
    "product_code": "0964",
    "standardised_name": "Frijj Banana Flavour Milkshake 10x400ml",
    "status": "published",
    "changed_at": "2024-07-02 14:25:26",
    "latest_version": "1.1",
    "change_reason": "Revision",
    "change_type": 2,
    "reviewed_at": "2024-07-02 14:25:27",
    "parent_id": null,
    "replaced_by": [],
    "general": {
      "manufacturer_product_name": "Müller Milk FRijj® Banana Flavour Milkshake",
      "product_name": "FRijj Banana Flavour Milkshake",
      "manufacturer": 663,
      "manufacturer_name": "Central Supplies Ltd",
      "label": 0,
      "label_name": null,
      "label_code": "",
      "brand": 0,
      "brand_name": "Central Supplies Ltd",
      "schema": "drinks",
      "schema_name": "Drinks",
      "manufacturer_product_code": "MIFRUBAN400M",
      "product_description": "THICK ‘N’ SMOOTH Banana flavour milkshake\r\nMade with British Milk",
      "product_type": {
        "id": 2,
        "description": "Drink"
      },
      "product_category": {
        "id": 176,
        "description": "Milkshakes & Flavoured Milk"
      },
      "storage_type": {
        "id": 2,
        "description": "Chilled"
      },
      "manufacturer_address": null,
      "marketing_description": "",
      "day_code": "",
      "batch_code": "",
      "manufacturer_version_number": "",
      "effective_date": null
    },
    "outer": {
      "no_outer_present": null,
      "traded_unit_gtin": "",
      "variable_inner_components": null,
      "consumer_units_per_traded": {
        "value": 10,
        "units": "Units"
      },
      "outer_case_gross_weight": {
        "value": 4.26,
        "units": "kg"
      },
      "outer_case_height": {
        "value": 158,
        "units": "mm"
      },
      "outer_case_depth": {
        "value": 600,
        "units": "mm"
      },
      "outer_case_net_weight": {
        "value": 4,
        "units": "kg"
      },
      "outer_case_width": {
        "value": 450,
        "units": "mm"
      },
      "trade_item_splittable": null,
      "value_added_tax_rate": null,
      "inner_packs_in_case": null
    },
    "inner_pack": {
      "inner_pack_height": null,
      "inner_pack_depth": null,
      "inner_pack_width": null,
      "inner_pack_gtin": "",
      "inner_pack_splittable": null,
      "inner_pack_gross_weight": null,
      "inner_pack_net_weight": null,
      "inner_components_in_pack": null,
      "inner_pack_product_code": ""
    },
    "safety_outer": {
      "product_health_warning": "",
      "age_restricted_product": null,
      "age_restriction": null
    },
    "pallet": {
      "non_palletised": {
        "value": 1,
        "description": "Yes"
      },
      "pallet_type": null,
      "pallet_gtin": "",
      "cases_per_pallet": {
        "value": 198,
        "units": "Cases"
      },
      "pallet_gross_weight": null,
      "pallet_height": {
        "value": 1.45,
        "units": "MTR"
      },
      "cases_per_pallet_layer": {
        "value": 22,
        "units": "Cases"
      },
      "layers_per_pallet": {
        "value": 9,
        "units": "Layers"
      }
    },
    "waste_outer": {
      "outer_packaging": [
        {
          "packaging_type": {
            "id": 4,
            "description": "Case"
          },
          "packaging_weight": 260,
          "recycled_plastic": null,
          "base_material_type": {
            "id": 1,
            "description": "Plastic"
          },
          "packaging_returnable": null
        },
        {
          "packaging_type": {
            "id": 4,
            "description": "Case"
          },
          "packaging_weight": 1,
          "recycled_plastic": null,
          "base_material_type": {
            "id": 2,
            "description": "Paper/Cardboard"
          },
          "packaging_returnable": null
        }
      ],
      "transport_packaging": [
        {
          "packaging_type": {
            "id": 5,
            "description": "Other"
          },
          "packaging_weight": 246,
          "recycled_plastic": null,
          "base_material_type": {
            "id": 1,
            "description": "Plastic"
          },
          "packaging_returnable": null
        },
        {
          "packaging_type": {
            "id": 5,
            "description": "Other"
          },
          "packaging_weight": 313,
          "recycled_plastic": null,
          "base_material_type": {
            "id": 2,
            "description": "Paper/Cardboard"
          },
          "packaging_returnable": null
        }
      ],
      "inner_pack_packaging": null
    },
    "logistics": {
      "max_shelf_life": {
        "value": 90,
        "units": "Days"
      },
      "shelf_life_from_opening": null,
      "shelf_life_exempt": null
    },
    "other": {
      "manufacturer_comments": "",
      "product_health_warning": "",
      "age_restricted_product": null,
      "age_restriction": null,
      "deposit_return_scheme": null
    },
    "components": [
      {
        "general": {
          "component_name": "",
          "component_uuid": "1130b6a5322a4176b93fe74a5f5f3710"
        },
        "origin": {
          "country_of_origin": [
            {
              "id": 295,
              "description": "Great Britain"
            }
          ],
          "place_of_provenance": "",
          "country_of_origin_details": "",
          "primary_ingredient_origin": null,
          "primary_ingredient_details": ""
        },
        "accreditations": {
          "acc_aoecs": null,
          "acc_bcorp": null,
          "acc_brcgs_certified": {
            "value": 1,
            "description": "Yes"
          },
          "acc_brcgs_agents_brokers": null,
          "acc_brcgs_ethical": null,
          "acc_brcgs_food_safety": null,
          "acc_brcgs_gluten_free": null,
          "acc_brcgs_plant_based": null,
          "acc_brcgs_start": null,
          "acc_brcgs_storage_distribution": null,
          "acc_ethical_tea": null,
          "acc_fair_trade": null,
          "acc_food_for_life": null,
          "acc_fsc": null,
          "acc_fssc_22000": null,
          "acc_ifs_food_standard": null,
          "acc_iso_14001": null,
          "acc_iso_22000": null,
          "acc_iso_45001": null,
          "acc_iso_9001_2015": null,
          "acc_loop": null,
          "acc_organic": null,
          "acc_rainforest": null,
          "acc_rspo": null,
          "acc_rtrs": null,
          "acc_sqf": null,
          "acc_salsa": null,
          "acc_school_approved": null,
          "acc_sedex": null,
          "acc_vegan": null,
          "acc_vegetarian": null,
          "other_accreditation": ""
        },
        "inner_other": {
          "health_marks": "",
          "intrastat_taric": "",
          "commodity_code": "",
          "meursing_code": "",
          "not_for_eu": null
        },
        "additives": {
          "artificial_antioxidants": {
            "value": 1,
            "description": "Yes"
          },
          "artificial_colours": {
            "value": 0,
            "description": "No"
          },
          "artificial_flavour_enhancers": {
            "value": 1,
            "description": "Yes"
          },
          "artificial_flavourings": {
            "value": 1,
            "description": "Yes"
          },
          "artificial_preservatives": {
            "value": 1,
            "description": "Yes"
          },
          "artificial_sweeteners": {
            "value": 1,
            "description": "Yes"
          }
        },
        "allergens": {
          "contains_celery_celeriac": {
            "value": 0,
            "description": "No"
          },
          "contains_cereal": {
            "value": 0,
            "description": "No"
          },
          "contains_barley": {
            "value": 0,
            "description": "No"
          },
          "contains_oats": {
            "value": 0,
            "description": "No"
          },
          "contains_rye": {
            "value": 0,
            "description": "No"
          },
          "contains_wheat": {
            "value": 0,
            "description": "No"
          },
          "contains_crustacea": {
            "value": 0,
            "description": "No"
          },
          "contains_eggs": {
            "value": 0,
            "description": "No"
          },
          "contains_fish": {
            "value": 0,
            "description": "No"
          },
          "contains_lupin": {
            "value": 0,
            "description": "No"
          },
          "contains_milk": {
            "value": 1,
            "description": "Yes"
          },
          "contains_molluscs": {
            "value": 0,
            "description": "No"
          },
          "contains_mustard": {
            "value": 0,
            "description": "No"
          },
          "contains_tree_nuts": {
            "value": 0,
            "description": "No"
          },
          "contains_almond_nuts": {
            "value": 0,
            "description": "No"
          },
          "contains_brazil_nuts": {
            "value": 0,
            "description": "No"
          },
          "contains_cashew_nuts": {
            "value": 0,
            "description": "No"
          },
          "contains_hazelnut_nuts": {
            "value": 0,
            "description": "No"
          },
          "contains_macadamia_nuts": {
            "value": 0,
            "description": "No"
          },
          "contains_pecan_nuts": {
            "value": 0,
            "description": "No"
          },
          "contains_pistachio_nuts": {
            "value": 0,
            "description": "No"
          },
          "contains_walnut_nuts": {
            "value": 0,
            "description": "No"
          },
          "contains_peanuts": {
            "value": 0,
            "description": "No"
          },
          "contains_sesame_seeds": {
            "value": 0,
            "description": "No"
          },
          "contains_soybeans": {
            "value": 0,
            "description": "No"
          },
          "contains_celery_celeriac_risk_source": null,
          "contains_cereal_risk_source": null,
          "contains_barley_risk_source": null,
          "contains_oats_risk_source": null,
          "contains_rye_risk_source": null,
          "contains_wheat_risk_source": null,
          "contains_crustacea_risk_source": null,
          "contains_eggs_risk_source": null,
          "contains_fish_risk_source": null,
          "contains_lupin_risk_source": null,
          "contains_mustard_risk_source": null,
          "contains_milk_risk_source": null,
          "contains_molluscs_risk_source": null,
          "contains_tree_nuts_risk_source": null,
          "contains_almond_nuts_risk_source": null,
          "contains_brazil_nuts_risk_source": null,
          "contains_cashew_nuts_risk_source": null,
          "contains_hazelnut_nuts_risk_source": null,
          "contains_macadamia_nuts_risk_source": null,
          "contains_pecan_nuts_risk_source": null,
          "contains_pistachio_nuts_risk_source": null,
          "contains_walnut_nuts_risk_source": null,
          "contains_peanuts_risk_source": null,
          "contains_sesame_seeds_risk_source": null,
          "contains_soybeans_risk_source": null,
          "contains_sulphur_dioxide": {
            "value": 0,
            "description": "No"
          },
          "allergen_statement_on_pack": "",
          "additional_allergen_information": "Contains MILK, BUTTERMILK",
          "contains_cereal_gluten_20ppm": null,
          "contains_wheat_gluten_20ppm": null,
          "contains_rye_gluten_20ppm": null,
          "contains_barley_gluten_20ppm": null,
          "contains_oats_gluten_20ppm": null,
          "contains_sulphur_dioxide_risk_source": null
        },
        "free_from": {
          "free_from_gluten": null,
          "free_from_wheat": null,
          "free_from_rye": null,
          "free_from_barley": null,
          "free_from_oats": null,
          "free_from_nuts": null,
          "free_from_celery": null,
          "free_from_crustacea": null,
          "free_from_eggs": null,
          "free_from_fish": null,
          "free_from_lupin": null,
          "free_from_mustard": null,
          "free_from_lactose": null,
          "free_from_milk": null,
          "free_from_molluscs": null,
          "free_from_peanuts": null,
          "free_from_sesame": null,
          "free_from_soybeans": null,
          "free_from_sulphur_dioxide": null,
          "very_low_gluten": null
        },
        "nutrients": {
          "traffic_light_labelling": null,
          "nutritional_data_exempt": null,
          "nutritional_information_source": null,
          "nutrition_units": {
            "id": 1,
            "description": "ml"
          },
          "number_of_servings": null,
          "serving_size": null,
          "serving_details": "",
          "hfss_product": null,
          "hfss_score": null,
          "fibre_type": null,
          "chol_100": null,
          "trans_fats_100": null,
          "fat_percentage_dry_100": null,
          "non_milk_extrinsic_sugars_100": null,
          "non_milk_extrinsic_sugars_prepared": null,
          "nutrition_statements": "",
          "cal_100_kj": {
            "value": 301,
            "units": "kJ"
          },
          "cal_100_kcal": {
            "value": 71,
            "units": "kcal"
          },
          "fat_100": {
            "value": 1.4,
            "units": "g"
          },
          "sat_fat_100": {
            "value": 0.9,
            "units": "g"
          },
          "mono_fat_100": null,
          "poly_fat_100": null,
          "carb_100": {
            "value": 10.8,
            "units": "g"
          },
          "sugar_carb_100": {
            "value": 10,
            "units": "g"
          },
          "polyols_carb_100": null,
          "starch_carb_100": null,
          "fibre_100": {
            "value": 0.2,
            "units": "g"
          },
          "protein_100": {
            "value": 3.8,
            "units": "g"
          },
          "salt_100": {
            "value": 0.17,
            "units": "g"
          },
          "sodium_100": null,
          "sugar_carb_serving": null,
          "vitamin_a_100": null,
          "vitamin_d_100": null,
          "vitamin_e_100": null,
          "vitamin_k_100": null,
          "vitamin_c_100": null,
          "thiamin_b1_100": null,
          "riboflavin_b2_100": null,
          "niacin_b3_100": null,
          "vitamin_b6_100": null,
          "folate_100": null,
          "vitamin_b12_100": null,
          "biotin_b7_100": null,
          "pantothenic_acid_100": null,
          "potassium_100": null,
          "chloride_100": null,
          "calcium_100": {
            "value": 137,
            "units": "mg"
          },
          "phosphorus_100": null,
          "magnesium_100": null,
          "iron_100": null,
          "zinc_100": null,
          "copper_100": null,
          "manganese_100": null,
          "fluoride_100": null,
          "selenium_100": null,
          "chromium_100": null,
          "molybdenum_100": null,
          "iodine_100": null,
          "bicarbonate_100": null,
          "nitrate_100": null,
          "silica_100": null,
          "sulphate_100": null,
          "cal_kcal_serving": null,
          "cal_kj_serving": null,
          "calcium_serving": null,
          "carb_serving": null,
          "polyols_carb_serving": null,
          "starch_carb_serving": null,
          "fat_serving": null,
          "sat_fat_serving": null,
          "mono_fat_serving": null,
          "poly_fat_serving": null,
          "fibre_serving": null,
          "folate_serving": null,
          "iron_serving": null,
          "protein_serving": null,
          "salt_serving": null,
          "sodium_serving": null,
          "vitamin_a_serving": null,
          "vitamin_c_serving": null,
          "zinc_serving": null,
          "vitamin_d_serving": null,
          "vitamin_e_serving": null,
          "thiamin_b1_serving": null,
          "riboflavin_b2_serving": null,
          "niacin_b3_serving": null,
          "vitamin_b6_serving": null,
          "vitamin_b12_serving": null,
          "biotin_b7_serving": null,
          "pantothenic_acid_serving": null,
          "potassium_serving": null,
          "chloride_serving": null,
          "phosphorus_serving": null,
          "magnesium_serving": null,
          "copper_serving": null,
          "manganese_serving": null,
          "fluoride_serving": null,
          "selenium_serving": null,
          "iodine_serving": null,
          "bicarbonate_serving": null,
          "nitrate_serving": null,
          "silica_serving": null,
          "sulphate_serving": null,
          "vitamin_k_serving": null,
          "chromium_serving": null,
          "molybdenum_serving": null
        },
        "nutrients_prepared": {
          "prepared_product_portion_size": null,
          "prepared_product_details": "",
          "sugar_carb_prepared": null,
          "sugar_carb_prepared_100": null,
          "cal_kcal_prepared": null,
          "cal_kcal_prepared_100": null,
          "cal_kj_prepared": null,
          "cal_kj_prepared_100": null,
          "calcium_prepared": null,
          "calcium_prepared_100": null,
          "carb_prepared": null,
          "carb_prepared_100": null,
          "polyols_carb_prepared": null,
          "polyols_carb_prepared_100": null,
          "starch_carb_prepared": null,
          "starch_carb_prepared_100": null,
          "fat_prepared": null,
          "fat_prepared_100": null,
          "sat_fat_prepared": null,
          "sat_fat_prepared_100": null,
          "mono_fat_prepared": null,
          "mono_fat_prepared_100": null,
          "poly_fat_prepared": null,
          "poly_fat_prepared_100": null,
          "fibre_prepared": null,
          "fibre_prepared_100": null,
          "folate_prepared": null,
          "folate_prepared_100": null,
          "iron_prepared": null,
          "iron_prepared_100": null,
          "protein_prepared": null,
          "protein_prepared_100": null,
          "salt_prepared": null,
          "salt_prepared_100": null,
          "sodium_prepared": null,
          "sodium_prepared_100": null,
          "vitamin_a_prepared": null,
          "vitamin_a_prepared_100": null,
          "vitamin_c_prepared": null,
          "vitamin_c_prepared_100": null,
          "zinc_prepared": null,
          "zinc_prepared_100": null,
          "vitamin_d_prepared": null,
          "vitamin_d_prepared_100": null,
          "vitamin_e_prepared": null,
          "vitamin_e_prepared_100": null,
          "thiamin_b1_prepared": null,
          "thiamin_b1_prepared_100": null,
          "riboflavin_b2_prepared": null,
          "riboflavin_b2_prepared_100": null,
          "niacin_b3_prepared": null,
          "niacin_b3_prepared_100": null,
          "vitamin_b6_prepared": null,
          "vitamin_b6_prepared_100": null,
          "vitamin_b12_prepared": null,
          "vitamin_b12_prepared_100": null,
          "biotin_b7_prepared": null,
          "biotin_b7_prepared_100": null,
          "pantothenic_acid_prepared": null,
          "pantothenic_acid_prepared_100": null,
          "potassium_prepared": null,
          "potassium_prepared_100": null,
          "chloride_prepared": null,
          "chloride_prepared_100": null,
          "phosphorus_prepared": null,
          "phosphorus_prepared_100": null,
          "magnesium_prepared": null,
          "magnesium_prepared_100": null,
          "copper_prepared": null,
          "copper_prepared_100": null,
          "manganese_prepared": null,
          "manganese_prepared_100": null,
          "fluoride_prepared": null,
          "fluoride_prepared_100": null,
          "selenium_prepared": null,
          "selenium_prepared_100": null,
          "iodine_prepared": null,
          "iodine_prepared_100": null,
          "sulphate_prepared": null,
          "sulphate_prepared_100": null,
          "nitrate_prepared": null,
          "nitrate_prepared_100": null,
          "bicarbonate_prepared": null,
          "bicarbonate_prepared_100": null,
          "silica_prepared": null,
          "silica_prepared_100": null,
          "vitamin_k_prepared": null,
          "vitamin_k_prepared_100": null,
          "chromium_prepared": null,
          "chromium_prepared_100": null,
          "molybdenum_prepared": null,
          "molybdenum_prepared_100": null
        },
        "ingredients": {
          "ingredients": "Skimmed MILK (60%), Whole MILK (29%), Sugar Syrup, BUTTERMILK Powder, Modified Maize Starch, Fructose, Stabilisers, Cellulose, Cellulose Gum, Carrageenan, Guar Gum,Flavourings, Colour, Carotenes",
          "ingredients_statements": "",
          "contains_gm_protein": {
            "value": 0,
            "description": "No"
          },
          "contains_hydro_veg": {
            "value": 0,
            "description": "No"
          },
          "contains_palm_oil": {
            "value": 0,
            "description": "No"
          },
          "cbd_concentration": null,
          "formatted_ingredients": "Skimmed MILK (60%), Whole MILK (29%), Sugar Syrup, BUTTERMILK Powder, Modified Maize Starch, Fructose, Stabilisers, Cellulose, Cellulose Gum, Carrageenan, Guar Gum,Flavourings, Colour, Carotenes",
          "plaintext_ingredients": "Skimmed MILK (60%), Whole MILK (29%), Sugar Syrup, BUTTERMILK Powder, Modified Maize Starch, Fructose, Stabilisers, Cellulose, Cellulose Gum, Carrageenan, Guar Gum,Flavourings, Colour, Carotenes"
        },
        "diets": {
          "vegan_suitable": {
            "id": 0,
            "description": "No"
          },
          "vegetarian_suitable": {
            "id": 1,
            "description": "Suitable for"
          },
          "halal_suitable": {
            "id": 0,
            "description": "No"
          },
          "kosher_suitable": {
            "id": 0,
            "description": "No"
          }
        },
        "handling": {
          "directions_for_use": "Ready to eat product",
          "storage_instructions": "ambient",
          "storage_instructions_after_opening": "",
          "shelf_life_once_defrosted": null
        },
        "inner": {
          "no_inner_component_present": null,
          "internal_gtin": "",
          "inner_component_diameter": null,
          "inner_component_weight": null,
          "inner_component_volume": {
            "value": 400,
            "units": "ml",
            "units_id": 1
          },
          "inner_component_depth": {
            "value": 69,
            "units": "mm"
          },
          "inner_component_width": {
            "value": 69,
            "units": "mm"
          },
          "inner_component_height": {
            "value": 158,
            "units": "mm"
          },
          "net_drained_weight": null,
          "count_per_inner_component": null,
          "e_mark": null,
          "manufacturers_component_code": ""
        },
        "waste_inner": {
          "inner_packaging": [
            {
              "packaging_type": {
                "id": 57,
                "description": "Bottle"
              },
              "packaging_weight": 25.2,
              "recycled_plastic": null,
              "base_material_type": {
                "id": 1,
                "description": "Plastic"
              },
              "packaging_returnable": null
            }
          ]
        },
        "characteristics": {
          "micro_trend_analysis": {
            "value": 0,
            "description": "No"
          },
          "shelf_life_testing": {
            "value": 0,
            "description": "No"
          },
          "commercially_sterile": null
        },
        "supplementary_information": {
          "closure_type": "",
          "milk_type": null,
          "pasteurised": null
        },
        "hazard_controls": {
          "hazard_metal_detection": null,
          "hazard_optical_sorting": null,
          "hazard_sieving": null,
          "hazard_xray": null,
          "hazard_magnets": null,
          "hazard_filters": null
        },
        "organoleptics": {
          "organoleptic_appearance": "",
          "organoleptic_aroma": "",
          "organoleptic_taste": "",
          "organoleptic_texture": ""
        },
        "derived": [],
        "waste_packaging": {
          "inner_packaging_plastic_weight": 25.2,
          "inner_packaging_paper_cardboard_weight": 0,
          "inner_packaging_fibre_based_composite_weight": 0,
          "inner_packaging_aluminium_weight": 0,
          "inner_packaging_glass_weight": 0,
          "inner_packaging_steel_weight": 0,
          "inner_packaging_wood_weight": 0,
          "inner_packaging_other_weight": 0
        }
      }
    ],
    "waste_packaging": {
      "outer_packaging_plastic_weight": 506,
      "outer_packaging_paper_cardboard_weight": 314,
      "outer_packaging_fibre_based_composite_weight": 0,
      "outer_packaging_aluminium_weight": 0,
      "outer_packaging_glass_weight": 0,
      "outer_packaging_steel_weight": 0,
      "outer_packaging_wood_weight": 0,
      "outer_packaging_other_weight": 0
    }
  }
}

Remove Product Code from Catalog

delete

Remove a Wholesaler Product Code from catalog.

Authorizations
Path parameters
wholesalerintegerRequired

The Wholesaler ID.

Example: 1234
productstringRequiredExample: inventore
codestringRequiredExample: ut
erudusIDstringRequired

The erudus ID for the product.

Example: c46fe2febd8e41529386da79d920ce92
product_codestringRequired

Optional parameter. Wholesaler product code to be removed.

Example: {"summary":"When the value is omitted","value":""}
Responses
204
Success
403
Action unauthorised.
application/json
404Error
application/json
delete
DELETE /v2/catalogs/{wholesaler}/{product}/{code} HTTP/1.1
Host: api.erudus.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

  • GETList Catalog Products
  • GETGet Catalog Product
  • POSTAdd Product Code to Catalog
  • DELETERemove Product Code from Catalog

Add Product Code to Catalog

post

Add a Wholesaler Product Code for Erudus product so that it appears in the system as part of a Wholesaler Product Catalog.

If you specify a version (e.g. "1.2") the specific version of the product wil be added to your Catalog against the code supplied.

Authorizations
Path parameters
wholesalerintegerRequired

The Wholesaler ID.

Example: 1234
productstringRequiredExample: ipsum
erudusIdstringRequired

The erudus ID for the product.

Example: c46fe2febd8e41529386da79d920ce92
Body
product_codestringRequired

A new wholesaler product code.

Example: AS234T
versionstringOptional

The specific version of the product.

Example: 2.1
component_uuidstringOptional

The uuid for the inner component if appropriate.

Example: c46fe2febd8e41529386da79d920ce92
Responses
201
Success
application/json
403
Action unauthorised.
application/json
422
Data incorrect or product/version not found.
application/json
post
POST /v2/catalogs/{wholesaler}/{product} HTTP/1.1
Host: api.erudus.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 93

{
  "product_code": "AS234T",
  "version": "2.1",
  "component_uuid": "c46fe2febd8e41529386da79d920ce92"
}
{
  "data": {
    "wholesaler_id": 2,
    "erudus_id": "c00d64e374704827909ab070733d0a52",
    "product_id": 115222,
    "version": "1.0",
    "version_dismissed": null,
    "component_uuid": null,
    "product_code": "TESTCODE"
  }
}