v1

latestOpenAPI 3.0.0Apache License Version 2.02026-07-24163274903.6 KB
Company Product Enhanced Service

getCompanyProductsEnhancedByPage

Retrieve one or more company products by pageNumber. Use to retrieve data in smaller chunks.

get/companyproduct/v1/getCompanyProductsEnhancedByPage

Query parameters

activeFlagboolean

Use true to retrieve only active Company Products.

includeDetailsboolean

Use true to retrieve detailed information for each Company Product.

minutesSinceUpdateinteger

The number of minutes since a company product record was last updated. Use to set how far back to search, Must be more than 0 and less than 43200 (30 days).

pageNumberinteger

Retrieve one or more records by pageNumber. Use to retrieve data in smaller chunks. If left blank, the default is 1.

productNumberstring

A unique alphanumeric code used to identify a product.

pageSizeinteger

Number of items to display per page.

productNamestring

Product Name to retrieve (optional).

includeNullboolean

Specify 'true' to output null data elements.

categorystring

Retrieve company products linked to a particular category. (optional)

conceptstring

Retrieve company products linked to a particular concept. (optional)

microCategorystring

Retrieve company products linked to a particular micro category. (optional)

subCategorystring

Retrieve company products linked to a particular subcategory. (optional)

universalProductCodestring

Retrieve company products identified with a particular upc code. (optional)

userDefinedCategorystring

Retrieve company products linked to a particular user defined category. (optional)

Headers

authenticationtokenstring required

Secure token for API authentication.

passwordstring required

Password for the Crunchtime Application User.

sitenamestring required

Crunchtime site identifier. (test or production)

useridstring required

User ID for the Crunchtime Application User.

X-B3-TraceIdstring

Optional trace identifier for troubleshooting.

Response

Success

hasNextboolean
totalPagesinteger

Example response

{
  "companyProductEnhancedDetails": [
    {
      "companyProductEnhancedAllergenAttributeDetails": [
        {
          "activeFlag": "Y",
          "nutritionClass": "Nutrition 1",
          "value": "101"
        }
      ],
      "companyProductEnhancedConceptDetails": [
        {
          "activeFlag": "Y",
          "code": "SEAFOOD-EM"
        }
      ],
      "companyProductEnhancedDepartmentDetails": [
        {
          "activeFlag": "Y",
          "code": "100"
        }
      ],
      "companyProductEnhancedHeaderDetails": {
        "activeFlag": "Y",
        "allergenAttributes": [
          {
            "activeFlag": "Y",
            "nutritionClass": "Nutrition 1",
            "value": "101"
          }
        ],
        "alternateNameFive": "Alternate Language Product Name 5",
        "alternateNameFour": "Alternate Language Product Name 4",
        "alternateNameOne": "Alternate Language Product Name 1",
        "alternateNameThree": "Alternate Language Product Name 3",
        "alternateNameTwo": "Alternate Language Product Name 2",
        "alternateUnitOneConversion": 9999.9999,
        "alternateUnitOnePackageType": "LB",
        "alternateUnitThreeConversion": 9999.9999,
        "alternateUnitThreePackageType": "LB",
        "alternateUnitTwoConversion": 9999.9999,
        "alternateUnitTwoPackageType": "LB",
        "alternateUpcs": [
          {
            "activeFlag": "Y",
            "code": "12300123"
          }
        ],
        "bidSheet": "Beverages",
        "bonded": "Y",
        "categoryName": "FOOD",
        "comment": "Remarks",
        "concepts": [
          {
            "activeFlag": "Y",
            "code": "SEAFOOD-EM"
          }
        ],
        "containerVolumeUnitPackageType": "KG",
        "containerVolumeUnitQuantity": 99999999.9999,
        "containerWeightUnitPackageType": "KG",
        "containerWeightUnitQuantity": 99999999.9999,
        "countryOfOrigin": "country Of Origin",
        "customsStatus": "customs Status",
        "departments": [
          {
            "activeFlag": "Y",
            "code": "100"
          }
        ],
        "governmentMinimumStock": "government Minimum Stock",
        "gradPlato": 99999.99,
        "haccpCompliance": "Avoid Cross Contamination",
        "inventoryUnitPackageType": "LB",
        "issueUnitOneConversion": 99999999.999999,
        "issueUnitOnePackageType": "B-1/6 PAN",
        "issueUnitTwoConversion": 99999999.999999,
        "issueUnitTwoInverted": "Y",
        "issueUnitTwoPackageType": "CS",
        "lotTracking": "Y",
        "masterOrderType": "mod",
        "microcategoryName": "MARGIN",
        "name": "BUTTER",
        "netWeightUnitPackageType": "3 KG",
        "netWeightUnitQuantity": 999.9999,
        "number": "10047",
        "nutritionConversion": 9999.9999,
        "nutritionPackage": "INVENTORY",
        "percentageAlcohol": 99999.99,
        "pharmaceuticalDosage": "pharmaceutical Dosage",
        "preferredBrands": "MDR",
        "preferredVendorUnitConversion": 9999.9999,
        "preferredVendorUnitPackageType": "PU",
        "prescriptionFlag": "prescription",
        "primaryShippingType": "REFRIGERATED",
        "productType": "S",
        "recipeUnitFiveConversion": 99999999.999999,
        "recipeUnitFivePackageType": "OZ FL",
        "recipeUnitFourConversion": 99999999.999999,
        "recipeUnitFourPackageType": "OZ FL",
        "recipeUnitOneConversion": 99999999.999999,
        "recipeUnitOnePackageType": "OZ FL",
        "recipeUnitThreeConversion": 99999999.999999,
        "recipeUnitThreePackageType": "OZ FL",
        "recipeUnitTwoConversion": 99999999.999999,
        "recipeUnitTwoPackageType": "OZ FL",
        "secondaryShippingType": "FROZEN",
        "shelfLifeIssue": 9999,
        "shelfLifeReceive": 9999,
        "shipLocations": [
          {
            "activeFlag": "Y",
            "locationName": "Excelsior"
          }
        ],
        "specialSizeUnit": 99999.99,
        "stateOfOrigin": "state Of Origin",
        "statisticItemNumber": "statistic ItemNumber",
        "subcategoryName": "PREP",
        "substituteProductOne": "Substitute Product 1",
        "substituteProductTwo": "Substitute Product 2",
        "temperature": 999.99,
        "temperatureRequired": "Y",
        "theoreticalEqualsActual": "Y",
        "therapeuticCode": "therapeutic Code",
        "universalProductCode": "12300123",
        "universalProductNumber": "1230012",
        "universalProductUnitConversion": 9999.9999,
        "universalProductUnitInverted": "Y",
        "universalProductUnitPackageType": "OZ FL",
        "userDefinedCategories": [
          {
            "activeFlag": "Y",
            "code": "cd 1"
          }
        ]
      },
      "companyProductEnhancedShipLocationDetails": [
        {
          "activeFlag": "Y",
          "locationName": "Excelsior"
        }
      ],
      "companyProductEnhancedUpcDetails": [
        {
          "activeFlag": "Y",
          "code": "12300123"
        }
      ],
      "companyProductEnhancedUserDefinedCategoryDetails": [
        {
          "activeFlag": "Y",
          "code": "cd 1"
        }
      ]
    }
  ]
}