---
title: "Configure external price source"
method: PUT
path: "/api/pricing-hub/prices/config"
tags: ["Pricing Hub Prices"]
---

# Configure external price source

`PUT /api/pricing-hub/prices/config`

>⚠️ This API has been deprecated. If you need to associate prices with customers, we recommend using the [Audience API](https://developers.vtex.com/docs/api-reference/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.

## Query parameters

- `an` string

## Headers

- `Accept` string, required
- `Content-Type` string, required

## Request body

- ConfigExternalPriceSourceRequest
  - `active` boolean — Defines if the external price source is active (`true`) or not (`false`). If not set, the default value will be `false`.
  - `appName` string, required — Name of the app that communicates with the external pricing source.

## Response `200`

OK

---

[API](https://skmtc.net/vtex/apis/pricing-hub-deprecated.md) · [All operations](https://skmtc.net/vtex/apis/pricing-hub-deprecated/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vtex/pricing-hub-deprecated/versions/84ef87cef0bb/schema)
