---
title: "Upsert food preferences"
method: PUT
path: "/contacts/{id}/food-preferences"
tags: ["Contacts"]
---

# Upsert food preferences

`PUT /contacts/{id}/food-preferences`

## Request

- Base URL: `https://mobcrm.au/api/v1`
- URL: `https://mobcrm.au/api/v1/contacts/{id}/food-preferences`
- Auth: HTTP bearer

## Request body

- FoodPreferences
  - `dietary_restrictions` string[]
  - `allergies` string[]
  - `favorite_foods` string[]
  - `disliked_foods` string[]
  - `notes` string

## Response `200`

Upserted food preferences.

- object
  - `data` object, required

## Other responses

- `401`: Missing, malformed, or invalid bearer token.
- `403`: Token lacks the required scope or plan entitlement.
- `404`: The requested resource does not exist.
- `422`: Request body or query failed validation.
- `429`: Rate limit exceeded; see the Retry-After header.

---

[API](https://skmtc.dev/mobcrm/apis/mob-crm-public-api.md) · [All operations](https://skmtc.dev/mobcrm/apis/mob-crm-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mobcrm/apis/mob-crm-public-api/revisions/697e8afba2a5?raw)
