---
title: "Update cart address country action"
method: PATCH
path: "/api/v1/cart-addresses/1/-actions/update-country"
tags: ["CartAddresses"]
---

# Update cart address country action

`PATCH /api/v1/cart-addresses/1/-actions/update-country`

## Request

- Base URL: `{{url}}`
- URL: `{{url}}/api/v1/cart-addresses/1/-actions/update-country`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/dystcz/apis/lunar-api/docs/api/v1/cart-addresses/1/-actions/update-country/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update cart address country action

## Request body

- object
  - `data` object
    - `id` string
    - `relationships` object
      - `country` object
        - `data` object
          - `id` string
          - `type` string
    - `type` string

## Response `200`

---

[API](https://skmtc.dev/dystcz/apis/lunar-api.md) - [All operations](https://skmtc.dev/dystcz/apis/lunar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dystcz/apis/lunar-api/revisions/11f419fb0094?raw)
