---
title: "Enable or disable a synced Yelp business in Optimyzee"
method: PUT
path: "/app/yelp/businesses/{businessRef}/enabled"
tags: ["App Yelp"]
---

# Enable or disable a synced Yelp business in Optimyzee

`PUT /app/yelp/businesses/{businessRef}/enabled`

## Request

- Base URL: `https://api.optimyzee.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optimyzee.com/app/yelp/businesses/{businessRef}/enabled`
- Auth: none declared
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/app/yelp/businesses/:businessRef/enabled/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `businessRef` string, required

## Request body

- object
  - `enabled` boolean, required

## Response `200`

OK

- AppYelpBusinessSchema
  - `id` string, required
  - `yelpBusinessId` string, nullable, required
  - `partnerBusinessId` string, nullable, required
  - `name` string, required
  - `city` string, nullable, required
  - `state` string, nullable, required
  - `rating` number, float, nullable, required
  - `reviewCount` integer, required
  - `status` string, required
  - `activePrograms` integer, required
  - `spendMtdCents` integer, required
  - `leadsMtd` integer, required
  - `lastSyncedAt` string, nullable, required
  - `serviceTags` string[], required
  - `categories` string[], required
  - `addressLines` string[], required
  - `phone` string, nullable, required
  - `yelpUrl` string, nullable, required
  - `imageUrl` string, nullable, required
  - `vertical` string, required
  - `verticalLabel` string, required
  - `verticalSource` string, nullable, required
  - `aiProfileSummary` string, nullable, required
  - `aiServiceFocus` string[], required
  - `aiDemandTriggers` string[], required
  - `aiRecommendedSignals` string[], required
  - `aiCustomerIntentNotes` string, nullable, required
  - `aiProfileSource` string, nullable, required
  - `aiProfileGeneratedAt` string, nullable, required
  - `latestListingUpdate` object, nullable, required
  - `enabled` boolean, required: Managed in Optimyzee. Disabled businesses are skipped by every feature.
  - `enabledAt` string, nullable, required
  - `spendMtdAvailable` boolean, required: True when spendMtdCents/leadsMtd come from Reporting API daily rows; false = no reporting (show as unknown, not $0)

---

[API](https://skmtc.dev/optimyzee/apis/optimyzee-api.md) - [All operations](https://skmtc.dev/optimyzee/apis/optimyzee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/optimyzee/apis/optimyzee-api/revisions/ccaa14692e9f?raw)
