---
canonical_url: "https://docs.composio.dev/toolkits/kroger"
markdown_url: "https://docs.composio.dev/toolkits/kroger.md"
product: "platform"
version: null
last_updated: null
---

# Kroger

Kroger provides public APIs for product discovery, store locations, shopper carts, and customer identity.

- **Category:** ecommerce
- **Auth:** OAUTH2, S2S_OAUTH2
- **Composio-managed OAuth available?** No
- **Tools:** 13
- **Triggers:** 0
- **Slug:** `KROGER`
- **Version:** 00000000_00

## Tools

### Add Items to Cart

**Slug:** `KROGER_ADD_ITEMS_TO_CART`

Add one or more products to the authenticated shopper's existing Kroger cart. This changes live cart state; each call adds the requested quantities.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `items` | array | Yes | One to 50 products and quantities to add to the shopper's cart. Split larger cart updates across calls. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Check Chain Exists

**Slug:** `KROGER_CHECK_CHAIN_EXISTS`

Check whether an exact Kroger-owned chain name exists without retrieving the chain record.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `chain_name` | string | Yes | Exact Kroger chain name to check, usually from the chain list or a location record. May contain letters, digits, spaces, ampersands, apostrophes, periods, and hyphens. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Check Department Exists

**Slug:** `KROGER_CHECK_DEPARTMENT_EXISTS`

Check whether a two-character Kroger department ID exists without retrieving the department record.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `department_id` | string | Yes | Two-character Kroger department ID to check; preserve leading zeroes. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Check Location Exists

**Slug:** `KROGER_CHECK_LOCATION_EXISTS`

Check whether an eight-character Kroger location ID exists without retrieving the location record.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `location_id` | string | Yes | Eight-character Kroger location ID to check. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Chain

**Slug:** `KROGER_GET_CHAIN`

Get brand and division details for one Kroger-owned chain by its exact chain name.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `chain_name` | string | Yes | Exact chain name returned by the chain list or a location record. May contain letters, digits, spaces, ampersands, apostrophes, periods, and hyphens. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Customer Profile

**Slug:** `KROGER_GET_CUSTOMER_PROFILE`

Return the compact profile ID for the authenticated Kroger shopper; use it to identify the connected shopper context.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Department

**Slug:** `KROGER_GET_DEPARTMENT`

Get the name and ID of one Kroger department by its two-character department ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `department_id` | string | Yes | Two-character department ID returned by the department list; leading zeroes are preserved. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Location

**Slug:** `KROGER_GET_LOCATION`

Get full details for one Kroger-owned location by its eight-character location ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `location_id` | string | Yes | Eight-character location ID returned by location search. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Product

**Slug:** `KROGER_GET_PRODUCT`

Get one Kroger product by product ID or UPC, optionally with store-specific price, inventory, aisle, and fulfillment data.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `product_id` | string | Yes | Exactly 13-digit product ID returned by product search. |
| `location_id` | string | No | Eight-character location ID for store-specific price, availability, inventory, fulfillment, and aisle data. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Chains

**Slug:** `KROGER_LIST_CHAINS`

List all Kroger-owned grocery and fuel chains with their names and brand metadata.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Departments

**Slug:** `KROGER_LIST_DEPARTMENTS`

List all Kroger department IDs and names for use in store searches and department lookups.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Search Locations

**Slug:** `KROGER_SEARCH_LOCATIONS`

Find Kroger-owned locations near a ZIP code or coordinates, with optional chain, department, and location-ID filters.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `chain` | string | No | Return only stores belonging to this chain name. |
| `limit` | integer | No | Maximum locations to return in the endpoint's single page (1-200). |
| `lat_long` | string | No | Comma-separated latitude,longitude starting point. |
| `latitude` | string | No | Latitude starting point; provide longitude with it. |
| `zip_code` | string | No | ZIP code to search near; use one geographic starting point. |
| `longitude` | string | No | Longitude starting point; provide latitude with it. |
| `location_ids` | string | No | Comma-separated eight-character location IDs to include. |
| `radius_miles` | integer | No | Search radius in miles (1-100); used only with a geographic starting point. |
| `department_ids` | string | No | Comma-separated two-character department IDs; stores must have all listed departments. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Search Products

**Slug:** `KROGER_SEARCH_PRODUCTS`

Search Kroger products by term, brand, or exact product IDs, optionally returning store-specific price, inventory, aisle, and fulfillment data.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `term` | string | No | Search phrase of at least 3 characters and at most 8 words. |
| `brand` | string | No | Case-sensitive brand filter; separate multiple brands with a pipe (&#124;). |
| `limit` | integer | No | Maximum products in this page (1-50). |
| `fulfillment` | string | No | Comma-separated fulfillment codes: ais (in store), csp (curbside pickup), dth (delivery), or sth (ship to home). |
| `location_id` | string | No | Eight-character location ID for store-specific price, inventory, aisle, and fulfillment data. |
| `next_cursor` | integer | No | Offset cursor returned by a previous call; omit for the first page. Kroger stops pagination at offset 250. |
| `product_ids` | string | No | Comma-separated 13-digit product IDs, up to 50. When set, do not provide term, brand, location_id, or fulfillment. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
