---
title: "cart.config.update"
method: PUT
path: "/cart.config.update.json"
tags: ["cart"]
deprecated: true
---

# cart.config.update

`PUT /cart.config.update.json`

## Request

- Base URL: `https://api.api2cart.com/v1.1`
- URL: `https://api.api2cart.com/v1.1/cart.config.update.json`
- Auth: API key in header `x-api-key` and API key in header `x-store-key`

> **Deprecated.**

Use this API method to update custom data in client database.

## Request body

- CartConfigUpdate
  - `db_tables_prefix` string: This parameter is deprecated for this method. Please, use this parameter in method account.config.update
  - `custom_fields` object: This parameter sets the list of params to the shopping cart.
  - `store_id` string: Store Id
  - `user_agent` string: This parameter allows you to set your custom user agent, which will be used in requests to the store. Please use it cautiously, as the store's firewall may block specific values.

## Response `200`

successful operation

- object
  - `return_code` integer
  - `return_message` string
  - `result` object

---

[API](https://skmtc.dev/api2cart/apis/api2cart-openapi.md) · [All operations](https://skmtc.dev/api2cart/apis/api2cart-openapi/llms.txt) · [OpenAPI document](https://skmtc.dev/api2cart/apis/api2cart-openapi/revisions/c34440741693?raw)
