---
title: "Update the address of an order"
method: PUT
path: "/orders/{orderId}/address"
tags: ["orders"]
---

# Update the address of an order

`PUT /orders/{orderId}/address`

ADD ENDPOINT DESCRIPTION HERE

## Path parameters

- `orderId` integer, required

## Query parameters

- `type` 'DELIVERY' | 'INVOICE' | 'DELIVERY_AND_INVOICE'

## Request body

- OrderPutDeliveryAddress
  - `name` string — The first and lastname of the recipient. <br>Either name or company is required.
  - `company` string — Name of the company. <br>Either name or company is required.
  - `phone` string — Phone number.
  - `email` string — E-Mail address.
  - `street` string, required — Street (or Address Line 1). <br>This field should always be specified.
  - `street2` string — Street (or Address Line 2). <br>This field is optional.
  - `zip` string — ZIP Code. <br>The ZIP code is optional for some countries, but required for most.
  - `city` string, required — City.
  - `state` string — State. <br>This is not required for most countries, but required in some (eg: United States).
  - `countryIso2` string, required — Country Code.
  - `latitude` number, double — Latitude coordinate for the delivery address. Optional, used for location-based services. For invoice address, it'll be ignored if provided.
  - `longitude` number, double — Longitude coordinate for the delivery address. Optional, Used for location-based services. For invoice address, it'll be ignored if provided.

## Response `default`

successful operation

---

[API](https://skmtc.net/writechoiceorg/apis/connector.md) · [All operations](https://skmtc.net/writechoiceorg/apis/connector/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/writechoiceorg/connector/versions/7ce09a4b2a4e/schema)
