Logo
The Kroger Co.'s Public API Documentation

Kroger Knowledge Check Answers

Number of APIs: 5


Are you looking for a fun way to learn about The Kroger Co.'s Public APIs? Try out the Knowledge Check. These instructions will get you started, but you can visit Kroger Developers for more detailed instructions.

If you want to fully experience learning about the APIs, don't jump right into the collection! Give yourself a chance to try it out and see if you can come up with the right requests before you use the ones we have created here.

Setup

Complete the following set up steps:

  1. Create an account on the Developer Marketplace if you do not already have one. Just click on the Sign In link in the upper right and follow the instructions to get your account created.

  2. Now that you have created an account and logged in, create an application. Creating an application provides the credentials you need to access to the Public APIs, even if you don't yet have an application started. For instructions, visit the Applications help page. When creating your application select the following:

    1. Environment: Production
    2. API Products: Check All

Questions

These questions are presented in order of difficulty, so don't be surprised if the last one is harder than the first!

For help with these questions, use the following resources:

If you're ready to get started, the questions are as follows:

  1. How many different chains does Kroger have?

  2. How many locations have a pharmacy and a gas station near the zip code 45202?

  3. How many Kroger brand milk products are available for ship to home for the following location ID: 01400751?

  4. Get the aisle and shelf number for Gatorade Frost Thirst Quencher at the Kroger on the Rhine location (zip code 45202).

  5. Get the name and street address of each location for the zip code 45202?

Answers

You can use this collection to get the answers. If you need some hints and don't want to jump right into the collection, visit our Knowledge Check Answers page to help you on the path.


1. Question 1 - How many different chains does Kroger have?

GET {{kroger-baseUrl}}/chains?limit.filter=200



2. Question 2 - How many locations have a pharmacy and a gas station near the given zip code?

GET {{kroger-baseUrl}}/locations?filter.zipCode.near=45202&filter.department=10,09&filter.limit=200



3. Question 3 - How many Kroger brand milk products are available for ship to home for the following location Id: 01400751

GET {{kroger-baseUrl}}/products?filter.term=milk&filter.locationId=01400751&filter.brand=Kroger&filter.fulfillment=sth



4. Question 4 - Get the aisle & shelf number for Gatorade Frost Thirst Quencher at the Kroger on the Rhine location

GET {{kroger-baseUrl}}/products/0005200013519?filter.locationId=01400513



5. Question 5 - Get the Name and Street Address of each location for the given zipcode

GET {{kroger-baseUrl}}/locations?filter.zipCode.near=45202&filter.limit=200



ENDPOINTS