---
title: "Update"
method: PATCH
path: "/addresses/{address_id}/update/"
---

# Update

`PATCH /addresses/{address_id}/update/`

## Request

- Base URL: `https://restapi.ordergroove.com`
- URL: `https://restapi.ordergroove.com/addresses/{address_id}/update/`
- Auth: one of:
  - none
  - API key in header `x-api-key`

Activates or deactivates a specified address.

## Path parameters

- `address_id` string, required

## Request body

- object
  - `live` boolean, required: Account status: active = True

## Response `200`

200

- object
  - `customer` string
  - `public_id` string
  - `label` unknown
  - `first_name` string
  - `last_name` string
  - `company_name` unknown
  - `address` string
  - `address2` unknown
  - `city` string
  - `state_province_code` string
  - `zip_postal_code` string
  - `phone` string
  - `fax` unknown
  - `country_code` string
  - `live` boolean
  - `created` string
  - `token_id` unknown
  - `store_public_id` unknown

## Other responses

- `400`: 400
- `403`: 403
- `404`: 404

---

[API](https://skmtc.dev/ordergroove/apis/ordergroove-restrpc.md) - [All operations](https://skmtc.dev/ordergroove/apis/ordergroove-restrpc/llms.txt) - [OpenAPI document](https://skmtc.dev/ordergroove/apis/ordergroove-restrpc/revisions/ba97e740d08c?raw)
