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

# Update Order Address

> Updates an Order address.



## OpenAPI

````yaml openapi/ecommerce.yaml patch /public/{user_id}/orders/{publicOrder_uuid}/addresses/{customerAddress_id}
openapi: 3.0.1
info:
  title: Ecommerce API
  description: ''
  version: '1.0'
servers:
  - url: https://apigw.ipxo.com/ecommerce
security:
  - bearerAuth: []
tags:
  - name: User
    description: ''
  - name: Cart
    description: ''
  - name: Stripe
    description: ''
  - name: Address
    description: ''
  - name: Gateway
    description: ''
  - name: Invoice
    description: ''
  - name: Order
    description: ''
  - name: Payment
    description: ''
  - name: Product
    description: ''
  - name: Subscription
    description: ''
  - name: Customer
    description: ''
  - name: Projection
    description: ''
  - name: Stripe EU
    description: ''
  - name: Vat
    description: ''
  - name: Legal
    description: ''
paths:
  /public/{user_id}/orders/{publicOrder_uuid}/addresses/{customerAddress_id}:
    patch:
      tags:
        - Order
      summary: Update Order Address
      description: Updates an Order address.
      operationId: updateOrderAddress
      parameters:
        - name: user_id
          in: path
          description: The ID of the user.
          required: true
          schema:
            type: string
          example: omnis
        - name: publicOrder_uuid
          in: path
          description: ''
          required: true
          schema:
            type: string
          example: 74f3effd-0035-32e9-88c1-26916c78ee1d
        - name: customerAddress_id
          in: path
          description: The ID of the customerAddress.
          required: true
          schema:
            type: integer
          example: 1
      requestBody:
        content:
          application/json:
            schema:
              required:
                - line_one
                - city
                - postcode
              type: object
              properties:
                line_one:
                  type: string
                  description: Must not be greater than 255 characters.
                  example: ucayaqhitpnhnoeudujxwe
                line_two:
                  type: string
                  description: Must not be greater than 255 characters.
                  nullable: true
                  example: axwtexmwnntseuykz
                city:
                  type: string
                  description: Must not be greater than 255 characters.
                  example: mdy
                postcode:
                  type: string
                  description: Must not be greater than 20 characters.
                  example: mvefmfjnjhkzpkwxrkqs
                province_code:
                  type: string
                  description: Must not be greater than 10 characters.
                  nullable: true
                  example: psgzsyrzm
                contact_email:
                  type: string
                  description: >-
                    Must be a valid email address. Must not be greater than 255
                    characters.
                  nullable: true
                  example: idell.macejkovic@example.org
                vat_number:
                  type: string
                  description: Must not be greater than 50 characters.
                  nullable: true
                  example: ojmomnkyrodpjvzenlcha
                company_code:
                  type: string
                  description: Must not be greater than 50 characters.
                  nullable: true
                  example: rnhxmroymhbtapjtbdnkw
                first_name:
                  type: string
                  description: Must not be greater than 255 characters.
                  nullable: true
                  example: omwbrkgzmwjzfhbrkxulhj
                last_name:
                  type: string
                  description: Must not be greater than 255 characters.
                  nullable: true
                  example: qwxqkppsdioopkrepeqtjsqk
                company_name:
                  type: string
                  description: Must not be greater than 255 characters.
                  nullable: true
                  example: ovbcjhipsqbunzwoaxupuqh
                contact_phone:
                  type: string
                  description: Must not be greater than 50 characters.
                  nullable: true
                  example: dnrgp
            example:
              line_one: ucayaqhitpnhnoeudujxwe
              line_two: axwtexmwnntseuykz
              city: mdy
              postcode: mvefmfjnjhkzpkwxrkqs
              province_code: psgzsyrzm
              contact_email: idell.macejkovic@example.org
              vat_number: ojmomnkyrodpjvzenlcha
              company_code: rnhxmroymhbtapjtbdnkw
              first_name: omwbrkgzmwjzfhbrkxulhj
              last_name: qwxqkppsdioopkrepeqtjsqk
              company_name: ovbcjhipsqbunzwoaxupuqh
              contact_phone: dnrgp
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                        example: a13651d3-6a5d-4427-ba30-caa61f677e8f
                      first_name:
                        type: string
                        example: Jazmin
                      last_name:
                        type: string
                        example: Hammes
                      company_name:
                        type: string
                        example: Moore, Bode and Ebert
                      vat_number:
                        type: string
                        example: 92320-2230
                      vat_validation_status:
                        type: string
                        example: invalid
                      vat_validated_at:
                        type: string
                        example: '2025-01-01T00:00:00Z'
                      line_one:
                        type: string
                        example: 98343 Lueilwitz Spurs
                      line_two:
                        type: string
                        example: 4406 Klein Estates
                      line_three:
                        type: string
                        example: 50142 Kian Mount Suite 409
                      city:
                        type: string
                        example: Murphymouth
                      province_code:
                        type: string
                        example: GW
                      country_code:
                        type: string
                        example: MN
                      postcode:
                        type: string
                        example: 49818-5259
                      contact_email:
                        type: string
                        example: bayer.barney@spinka.net
                      contact_phone:
                        type: string
                        example: +1 (501) 293-0902
                      company_code:
                        type: string
                        example: '43931820'
                example:
                  data:
                    uuid: a13651d3-6a5d-4427-ba30-caa61f677e8f
                    first_name: Jazmin
                    last_name: Hammes
                    company_name: Moore, Bode and Ebert
                    vat_number: 92320-2230
                    vat_validation_status: invalid
                    vat_validated_at: '2025-01-01T00:00:00Z'
                    line_one: 98343 Lueilwitz Spurs
                    line_two: 4406 Klein Estates
                    line_three: 50142 Kian Mount Suite 409
                    city: Murphymouth
                    province_code: GW
                    country_code: MN
                    postcode: 49818-5259
                    contact_email: bayer.barney@spinka.net
                    contact_phone: +1 (501) 293-0902
                    company_code: '43931820'
              example:
                data:
                  uuid: a13651d3-6a5d-4427-ba30-caa61f677e8f
                  first_name: Jazmin
                  last_name: Hammes
                  company_name: Moore, Bode and Ebert
                  vat_number: 92320-2230
                  vat_validation_status: invalid
                  vat_validated_at: '2025-01-01T00:00:00.0000000+00:00'
                  line_one: 98343 Lueilwitz Spurs
                  line_two: 4406 Klein Estates
                  line_three: 50142 Kian Mount Suite 409
                  city: Murphymouth
                  province_code: GW
                  country_code: MN
                  postcode: 49818-5259
                  contact_email: bayer.barney@spinka.net
                  contact_phone: +1 (501) 293-0902
                  company_code: '43931820'
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````