---
title: "Update external fees provider"
method: PATCH
path: "/api/sites/multiscreen/{site_name}/ecommerce/fees-providers/{id}"
tags: ["External Fees Providers"]
---

# Update external fees provider

`PATCH /api/sites/multiscreen/{site_name}/ecommerce/fees-providers/{id}`

## Request

- Base URL: `https://api.duda.co`
- URL: `https://api.duda.co/api/sites/multiscreen/{site_name}/ecommerce/fees-providers/{id}`
- Auth: HTTP basic

Updates the external fees provider with the given id. Accepts changes to the live and test fees URLs. Returns the updated provider.

## Path parameters

- `site_name` string, required
- `id` string, required

## Request body

- ExternalFeesProviderRequestDto
  - `live_fees_url` string, required: Live url used to fetch the associated fees of a cart. Must be a valid https url
  - `test_fees_url` string, nullable: Optional test url used to fetch the associated fees of a cart in test mode. Will default to the live url if not provided. Must be a valid https url

## Response `200`

OK

- ExternalFeesProviderResponseDto
  - `id` string: System identifier of the external fees provider
  - `live_fees_url` string: Live url used to fetch the associated fees of a cart. Must be a valid https url
  - `test_fees_url` string: Optional test url used to fetch the associated fees of a cart in test mode. Will default to the live url if not provided. Must be a valid https url

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Content
- `429`: Too many requests. The rate limit was exceeded.

---

[API](https://skmtc.dev/duda/apis/duda-partner-api.md) - [All operations](https://skmtc.dev/duda/apis/duda-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/duda/apis/duda-partner-api/revisions/52be4d41cb12?raw)
