---
title: "PATCH Update partner country"
description: "Updates the country for a specific partner and resets payout fields."
last_updated: "2026-10-05T05:08:24.915905+00:00"
canonical_url: "https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/api/admin-partners/updateadminpartnercountry"
---

<APIEndpoint
  method={"PATCH"}
  path={"/api/admin/partners/{partnerId}"}
  summary={"Update partner country"}
  description={"Updates the country for a specific partner and resets payout fields."}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"partnerId","in":"path","required":true,"description":"The ID of the partner","schema":{"type":"string"}}]} />

## Request Body

Updated country information

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"Partner country updated successfully"}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"400"}
  description={"Partner is already in this country"}
  contentType={"text/plain"}
/>

<APIResponse
  statusCode={"404"}
  description={"Partner not found"}
  contentType={"text/plain"}
/>

## Try It

<APIPlayground
  method={"PATCH"}
  path={"/api/admin/partners/{partnerId}"}
  parameters={[{"name":"partnerId","in":"path","required":true,"description":"The ID of the partner","schema":{"type":"string"}}]}
  requestBody={{"contentType":"application/json","required":true,"description":"Updated country information","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/llms.txt) for all pages in this wiki.
