# fetchFoodItemForPassioID

## Import

```typescript
import {
  PassioSDK,
  type PassioFoodItem,
  type PassioID,
} from '@passiolife/nutritionai-react-native-sdk-v3'
```

```typescript
/**
   * Look up the nutrition attributes for a given Passio ID.
   * @param passioID - The Passio ID for the attributes query.
   * @returns A `Promise` resolving to a `PassioFoodItem` object if the record exists in the database or `null` if not.
   */
  fetchFoodItemForPassioID(passioID: PassioID): Promise<PassioFoodItem | null>

```

## Example

It's return [PassioFoodItem](../properties/passiofooditem)

```typescript
const getFoodItem = async (passioID: PassioID) => {
  try {
    const passioFoodItem = await PassioSDK.fetchFoodItemForPassioID(passioID)
  } catch (error) {
    console.log('error', error)
  }
}
```

##
