cart

cart.config.update

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

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

Request body

db_tables_prefixstring

This parameter is deprecated for this method. Please, use this parameter in method account.config.update

custom_fieldsobject

This parameter sets the list of params to the shopping cart.

store_idstring

Store Id

user_agentstring

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.

Example request

{
  "db_tables_prefix": "oc_",
  "store_id": "1",
  "user_agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0"
}

Response

successful operation

return_codeinteger
return_messagestring
resultobject

Changes

No recorded changes to this operation across all 1 revision of this API.