> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.returnhelper.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 更新 收件信息 Of 合并运输订单

<Warning>
  此页面由 AI 自动翻译。API 技术规格以英文呈现为标准。如有任何疑问，请参阅[英文版本](/api-reference/consolidateshippingorder/update-ship-to-information-of-consolidate-shipping-order)。
</Warning>

更新草稿合并运输订单的目的地址、联络人与电话。仅在订单确认前有效。


## OpenAPI

````yaml post /api/outbound/consolidateShipping/order/updateShipToInformation
openapi: 3.1.0
info:
  title: Return Helper API
  description: API documentation for Return Helper — covering User and Public endpoints.
  version: 1.0.0
servers:
  - url: https://api.returnshelper.com/uat/user
    description: Sandbox — User API
  - url: https://api.returnshelper.com/uat/public
    description: Sandbox — Public API
  - url: https://api.returnhelpercentre.com/v1/user
    description: Production — User API
  - url: https://api.returnhelpercentre.com/v1/public
    description: Production — Public API
  - url: https://api.returnhelperchina.com/user
    description: Production — User API (China)
security:
  - ApiKey: []
    ApiToken: []
paths:
  /api/outbound/consolidateShipping/order/updateShipToInformation:
    post:
      tags:
        - ConsolidateShippingOrder
      summary: Update ship-to information of consolidate shipping order
      operationId: ReturnUserApi_UpdateConsolidateShippingShipToInformation
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - consolidateShippingOrderId
                - shipTo
              properties:
                consolidateShippingOrderId:
                  type: string
                  description: Consolidate shipping order ID (ULID)
                shipTo:
                  type: object
                  required:
                    - shipToCountry
                    - shipToContactName
                    - shipToPhone
                    - shipToEmail
                    - shipToCompanyName
                    - shipToStreet1
                    - shipToCity
                    - shipToState
                    - shipToPostalCode
                    - shipToType
                  properties:
                    shipToCountry:
                      type: string
                      description: ISO 3166 country code
                    shipToContactName:
                      type: string
                      maxLength: 100
                    shipToPhone:
                      type: string
                      maxLength: 20
                    shipToFax:
                      type: string
                      maxLength: 20
                    shipToEmail:
                      type: string
                      format: email
                      maxLength: 100
                    shipToCompanyName:
                      type: string
                      maxLength: 100
                    shipToStreet1:
                      type: string
                      maxLength: 100
                    shipToStreet2:
                      type: string
                      maxLength: 100
                    shipToStreet3:
                      type: string
                      maxLength: 100
                    shipToCity:
                      type: string
                      maxLength: 50
                    shipToState:
                      type: string
                      maxLength: 50
                    shipToPostalCode:
                      type: string
                      maxLength: 20
                    shipToType:
                      type: string
                      maxLength: 20
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/UserUpdateConsolidateShippingShipToInformationReply
        '401':
          description: >-
            Authentication failed. Returned when the `x-rr-apikey` or
            `x-rr-apitoken` header is missing or invalid. The body uses the
            standard `ApiResponse` envelope with `meta.error.message` describing
            the auth failure.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
      security:
        - ApiKey: []
          ApiToken: []
      servers:
        - url: https://api.returnshelper.com/uat/user
          description: Sandbox — User API
components:
  schemas:
    UserUpdateConsolidateShippingShipToInformationReply:
      type: object
      properties:
        consolidateShippingOrderId:
          type: string
          description: ULID
        consolidateShippingOrderNumber:
          type: string
        outboundWarehouseId:
          type: integer
          format: int32
        shippingMethod:
          type: string
        shippingFee:
          type: number
          format: decimal
        deliveryInstructions:
          type:
            - string
            - 'null'
        consolidateShippingOrderStatus:
          type: string
        shipTo:
          $ref: '#/components/schemas/UserConsolidateShippingOrderShipToPayload'
        consolidateShippingShipmentList:
          type: array
          items:
            $ref: >-
              #/components/schemas/UserUpdateConsolidateShippingShipToInformationShipmentReply
        customFieldMap:
          type:
            - object
            - 'null'
          additionalProperties:
            type: string
        createOn:
          type: string
          format: date-time
        modifyOn:
          type: string
          format: date-time
    ApiResponse:
      type: object
      description: >-
        Universal response envelope. Successful responses include the business
        payload as additional top-level fields alongside `correlationId` and
        `meta`. Failed responses (auth errors, validation errors) only populate
        `correlationId` and `meta`, with `meta.errorCode` and `meta.error`
        describing the failure.
      properties:
        correlationId:
          type:
            - string
            - 'null'
          description: >-
            Unique correlation ID for tracing the request through Return Helper
            systems.
        meta:
          $ref: '#/components/schemas/ApiResponseMeta'
    UserConsolidateShippingOrderShipToPayload:
      type: object
      properties:
        shipToCountry:
          type: string
          description: ISO 3166-1 alpha-3 country code
        shipToContactName:
          type: string
        shipToPhone:
          type: string
        shipToFax:
          type:
            - string
            - 'null'
        shipToEmail:
          type: string
          format: email
        shipToCompanyName:
          type: string
        shipToStreet1:
          type: string
        shipToStreet2:
          type:
            - string
            - 'null'
        shipToStreet3:
          type:
            - string
            - 'null'
        shipToCity:
          type: string
        shipToState:
          type: string
        shipToPostalCode:
          type: string
        shipToType:
          type: string
          description: Recipient type, e.g. residential or commercial
    UserUpdateConsolidateShippingShipToInformationShipmentReply:
      type: object
      properties:
        consolidateShippingShipmentId:
          type: string
          description: ULID
        consolidateShippingShipmentNumber:
          type: string
        consolidateShippingOrderId:
          type: string
          description: ULID
        consolidateShippingShipmentStatus:
          type: string
        currencyCode:
          type: string
          description: ISO 4217 currency code
        shippingFee:
          type: number
          format: decimal
        awb:
          type:
            - string
            - 'null'
        serviceProvider:
          type:
            - string
            - 'null'
        shipDate:
          type:
            - string
            - 'null'
          format: date-time
        consolidateShippingShipmentBoxList:
          type: array
          items:
            $ref: >-
              #/components/schemas/UserUpdateConsolidateShippingShipToInformationShipmentBoxReply
    ApiResponseMeta:
      type: object
      description: >-
        Application-level metadata for every API response. Inspect `status` and
        `errorCode` to detect soft-error responses (validation failures arrive
        as HTTP 200 with `meta.status: 400`).
      properties:
        status:
          type: integer
          description: >-
            Application-level status code. For successful operations this
            mirrors the HTTP status (e.g. 200). For validation failures it
            reports the logical status (e.g. 400) even though the wire HTTP
            status is 200.
        data:
          type: object
          additionalProperties:
            type: string
          description: Reserved free-form metadata key/value pairs. Usually empty.
        errorCode:
          type:
            - string
            - 'null'
          description: >-
            Machine-readable error code (e.g. `VALIDATION_FAILED`). Non-null
            only when the operation failed.
        error:
          type: object
          additionalProperties: true
          description: >-
            Field-level or message-level error detail keyed by request property
            name. Empty object on success.
    UserUpdateConsolidateShippingShipToInformationShipmentBoxReply:
      type: object
      properties:
        consolidateShippingShipmentBoxId:
          type: string
          description: ULID
        consolidateShippingShipmentId:
          type: string
          description: ULID
        consolidateShippingShipmentBoxStatus:
          type: string
        boxNumber:
          type: string
        boxType:
          type: string
        invoiceFileKey:
          type:
            - string
            - 'null'
        weight:
          type: number
          format: decimal
        dimension1:
          type: number
          format: decimal
          description: Length (longest side)
        dimension2:
          type: number
          format: decimal
          description: Width (second longest side)
        dimension3:
          type: number
          format: decimal
          description: Height (shortest side)
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-rr-apikey
      description: Your API key
    ApiToken:
      type: apiKey
      in: header
      name: x-rr-apitoken
      description: Your API token — keep this private

````