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

# Update external shipping provider

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

## Request

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

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

## Path parameters

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

## Request body

- UpdateExternalShippingProviderInputDto
  - `live_shipping_rates_url` string, nullable
  - `test_shipping_rates_url` string, nullable

## Response `200`

OK

- ExternalShippingProviderOutputDto
  - `id` string: System identifier of the external shipping providers
  - `live_shipping_rates_url` string, uri: Url that duda eCommerce's service will contact to retrieve the available shipping rates for a cart in live mode
  - `test_shipping_rates_url` string, uri: Url that duda eCommerce's service will contact to retrieve the available shipping rates for a cart in test mode

## 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)
