v6

latestOpenAPI 3.0.1raw.githubusercontent.com2025-12-09153208467.0 KB
orders

Update the address of an order

ADD ENDPOINT DESCRIPTION HERE

put/orders/{orderId}/address

Path parameters

orderIdinteger required

The unique identifier for an order.

Query parameters

type'DELIVERY' | 'INVOICE' | 'DELIVERY_AND_INVOICE'

Request body

namestring

The first and lastname of the recipient. <br>Either name or company is required.

companystring

Name of the company. <br>Either name or company is required.

phonestring

Phone number.

emailstring

E-Mail address.

streetstring required

Street (or Address Line 1). <br>This field should always be specified.

street2string

Street (or Address Line 2). <br>This field is optional.

zipstring

ZIP Code. <br>The ZIP code is optional for some countries, but required for most.

citystring required

City.

statestring

State. <br>This is not required for most countries, but required in some (eg: United States).

countryIso2string required

Country Code.

latitudenumber double

Latitude coordinate for the delivery address. Optional, used for location-based services. For invoice address, it'll be ignored if provided.

longitudenumber double

Longitude coordinate for the delivery address. Optional, Used for location-based services. For invoice address, it'll be ignored if provided.

Response

successful operation