---
title: "Change business feature status"
method: POST
path: "/business/features/change-status"
---

# Change business feature status

`POST /business/features/change-status`

## Request

- Base URL: `https://api.ecommerceapi.uk/v1`
- URL: `https://api.ecommerceapi.uk/v1/business/features/change-status`
- Auth: HTTP basic

Enables or disables a specified business feature.

## Request body

- BusinessFeatureStatusUpdate
  - `name` 'google_product_fields' | 'custom_basket_prices', required: The name of the feature to update. Options: 'google_product_fields' or 'custom_basket_prices'.
  - `status` boolean, required: The new status of the feature (true for enabled, false for disabled).

## Response `200`

Feature status updated successfully.

- object
  - `success` boolean: Indicates if the operation was successful.

## Other responses

- `400`: Invalid request data.
- `401`: Unauthorized. Invalid or missing API key.
- `422`: Unprocessable entity. Missing or incorrect parameters.
- `500`: Server error.

---

[API](https://skmtc.dev/ecommerceapi/apis/business-features.md) - [All operations](https://skmtc.dev/ecommerceapi/apis/business-features/llms.txt) - [OpenAPI document](https://skmtc.dev/ecommerceapi/apis/business-features/revisions/4d1ff951af57?raw)
