Update User Address
API operation: Open the endpoint in Scalar
Use PUT /users/{user_id}/addresses/{address_id} to update a user address. The operation is Address.update.
The operation requires authentication. Administrators and agents can act for another user; other callers must match user_id. The address lookup may be scoped by address_id without also enforcing the route user_id; verify that both identifiers match before making this update. Setting default to true clears the default flag on the user's other addresses.
const response = await ordering.users(userId).addresses(addressId).save();
This SDK syntax is historical. Confirm the package and version before using it. See User address model.