# Update sales order addresses

Use this operation to update the recipient (shipping) address, the delivery location, or both on an existing open sales order. RecipientContactInfo is the recipient's ship-to address, not a Wineshipping warehouse or origin address. DeliveryContactInfo is where the carrier hands off the package, such as a UPS Access Point or FedEx Hold Location. Send either address on its own or both together; an address that is omitted is left unchanged, and an address that is supplied replaces the existing address as a whole. Identify the order with exactly one of OrderNo, TransactionReferenceNumber, AcpOrderId, or OptHeaderId in the Order object. This is a narrowly scoped alternative to [Update Sales Order](UpdateSalesOrder) — it may modify only these two addresses and must not be used to modify items, billing information, shipment settings, order holds, or any other order fields.

Endpoint: POST /api/SalesOrder/Addresses
Version: 3.1.4

## Request fields (application/json):

  - `Authentication` (object, required)
    Credentials are required for all API operations.

  - `Authentication.UserKey` (string, required)
    Example: C445598CB576468EA35FBB22C55584EF

  - `Authentication.Password` (string, required)
    Example: AF63FDAC1E704DC1AC9460F669ABF107

  - `Authentication.CustomerNo` (string, required)
    Example: 10703

  - `Order` (object, required)
    Identifies the sales order to update. Provide exactly one of OrderNo, TransactionReferenceNumber, AcpOrderId, or OptHeaderId. Supplying none or more than one of these identifiers results in a 400 response.

  - `Order.OrderNo` (string)
    Usually the order number in your point of sale (POS) system.
    Example: TESTORDER-1

  - `Order.TransactionReferenceNumber` (string)
    Unique identifier of the order returned by the CreateSalesOrder response.

  - `Order.AcpOrderId` (string)
    The order identifier as shown in Wineshipping's ACP (Advanced Control Panel).

  - `Order.OptHeaderId` (string)
    The order header identifier assigned by Wineshipping's OPT (Order Processing Tool) system.

  - `RecipientContactInfo` (object)

  - `RecipientContactInfo.FirstName` (string)
    Example: Jane

  - `RecipientContactInfo.LastName` (string)
    Example: Doe

  - `RecipientContactInfo.Company` (string)
    Example: Wineshipping

  - `RecipientContactInfo.Address` (string)
    Example: 50 Technology Ct

  - `RecipientContactInfo.Address2` (string)

  - `RecipientContactInfo.City` (string)
    Example: Napa

  - `RecipientContactInfo.State` (string)
    Example: CA

  - `RecipientContactInfo.ZipCode` (string)
    Example: 94558

  - `RecipientContactInfo.Country` (string)
    Example: US

  - `RecipientContactInfo.PhoneNumber` (string)
    Example: 7079339063

  - `RecipientContactInfo.EmailAddress` (string)
    Example: someone@wineshipping.com

  - `DeliveryContactInfo` (object)

  - `DeliveryContactInfo.HoldAtLocation` (integer)
    Set at 1 for adding Hold At Location specific addresses for the Order (UPS Access Points & FedEx Hold Locations) – it is not necessary to add Delivery Location Info not using Hold at Locations
    Enum: "0", "1"

  - `DeliveryContactInfo.LocationCode` (string)

  - `DeliveryContactInfo.Company` (string)
    Example: Wineshipping

  - `DeliveryContactInfo.Address` (string)
    Example: 50 Technology Ct.

  - `DeliveryContactInfo.Address2` (string)
    Example: Suite 101

  - `DeliveryContactInfo.City` (string)
    Example: Napa

  - `DeliveryContactInfo.State` (string)
    Example: CA

  - `DeliveryContactInfo.ZipCode` (string)
    Example: 94558

  - `DeliveryContactInfo.Country` (string)
    Example: USA

  - `DeliveryContactInfo.PhoneNumber` (string)
    Example: 707-933-9063

## Request examples:

  - `Update recipient and delivery addresses` (unknown)

  - `Update recipient address only` (unknown)

  - `Update delivery location only (hold at location)` (unknown)

## Response 200:

  - `200` (unknown)
    The address update request has succeeded.

## Response 200 fields (application/json):

  - `OrderNo` (string)
    Usually the order number in your point of sale (POS) system.
    Example: TESTORDER-1

  - `TransactionReferenceNumber` (string)
    Unique identifier of the order returned by the CreateSalesOrder response.
    Example: D94BC05C-A1C3-4CBB-8DA1-E59C73AD2CAE

  - `RecipientContactInfoUpdated` (boolean)
    Indicates whether the recipient (shipping) address was updated. False when RecipientContactInfo was not sent.
    Example: true

  - `DeliveryContactInfoUpdated` (boolean)
    Indicates whether the delivery location was updated. False when DeliveryContactInfo was not sent.
    Example: true

  - `UpdatedAtUtc` (string)
    The UTC date and time the address update was applied.
    Example: 2026-01-01T14:15:22Z

## Response 400:

  - `400` (unknown)
    Invalid Input Data

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 403:

  - `403` (unknown)
    The caller does not have adequate permission to perform this operation.

## Response 404:

  - `404` (unknown)
    The requested order is not found for the authenticated customer.

## Response 409:

  - `409` (unknown)
    The request could not be completed because of a concurrent update to the same order.

## Response 429:

  - `429` (unknown)
    Too Many Requests [... see rate-limit details](https://wineshipping-api.redocly.app/../../../../docs/infrastructure#rate-limits--quotas)

## Response 500:

  - `500` (unknown)
    Internal Server Error

## Response 200 examples:

  - `OK` (unknown)

