v50

latestOpenAPI 3.0.0raw.githubusercontent.com2025-08-122521.1 KB
Pricing Hub Prices

Configure external price source

⚠️ This API has been deprecated. If you need to associate prices with customers, we recommend using the Audience API.

This route facilitates setting up an external price source in Pricing Hub. It also allows you to activate or deactivate that source in a given account.

put/api/pricing-hub/prices/config

Query parameters

anstring
Example:apiexamples

Name of the VTEX account.

Headers

Acceptstring required

HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.

Content-Typestring required

Describes the type of the content being sent.

Request body

activeboolean

Defines if the external price source is active (true) or not (false). If not set, the default value will be false.

appNamestring required

Name of the app that communicates with the external pricing source.

Example request

{
  "appName": "apiexamples_app_name"
}

Response

OK