---
title: "Configure External Price Source"
method: PUT
path: "/config"
tags: ["Pricing Hub Prices"]
---

# Configure External Price Source

`PUT /config`

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. 

>ℹ️ This feature is in closed beta, available only for selected customers. If you have any questions, contact our [Support](https://support.vtex.com/hc/en-us/requests).

## Query parameters

- `an` string

## Headers

- `Accept` string, required
- `Content-Type` string, required
- `X-VTEX-API-AppKey` string, required
- `X-VTEX-API-AppToken` 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

## Changes

- **2022-02-03** `9ea23f48ca5f` — 1 info
  - the `query` request parameter `an` became optional
- **2022-02-03** `20de3df95837` — 2 info
  - the request property `active` became optional
  - the `active` request property default value `false` was added
- **2022-02-03** `e95045e7a49b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/vtex/apis/pricing-hub-deprecated/changes/config/put.md)

---

[API](https://skmtc.dev/vtex/apis/pricing-hub-deprecated.md) · [All operations](https://skmtc.dev/vtex/apis/pricing-hub-deprecated/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vtex/pricing-hub-deprecated/revisions/bdee012bddd6/schema)
