# Ignore address validation

**URL:** <https://community.shiphero.com/t/ignore-address-validation/253>\
**Category:** GraphQL API\
**Created:** [December 4, 2019, 8:10pm UTC](https://community.shiphero.com/t/ignore-address-validation/253 "2019-12-04T20:10:16Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![siddharth\_singh](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@siddharth\_singh](https://community.shiphero.com/u/siddharth_singh)\
**Post date:** [December 4, 2019, 8:10pm UTC](https://community.shiphero.com/t/ignore-address-validation/253/1 "2019-12-04T20:10:16Z")

</div>

Hi  
Can we somehow ignore the address validation for the orders which we know that the address is right? Like we have many addresses which we have shipped orders to in our previously but then show up as incorrect address in shiphero. Is this doable?

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [December 5, 2019, 1:08pm UTC](https://community.shiphero.com/t/ignore-address-validation/253/2 "2019-12-05T13:08:15Z")

</div>

HI @siddharth_singh !  
This could be achieved using an Automation Rule on the app, however, I just submitted a feature request to be able to send the flag “ignore\_address\_validation\_errors”:true when creating the order.  
Let me know if this won’t work for you.  
Thanks!  
Tom

---

<div class="post-metadata">

**Author:** ![siddharth\_singh](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@siddharth\_singh](https://community.shiphero.com/u/siddharth_singh)\
**Post date:** [December 6, 2019, 8:17am UTC](https://community.shiphero.com/t/ignore-address-validation/253/3 "2019-12-06T08:17:49Z")

</div>

@tomasw This would be great but currently I cannot see this flag in the graphql docs and it gives an error when I try to send this.

---

<div class="post-metadata">

**Author:** ![siddharth\_singh](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@siddharth\_singh](https://community.shiphero.com/u/siddharth_singh)\
**Post date:** [December 6, 2019, 12:09pm UTC](https://community.shiphero.com/t/ignore-address-validation/253/4 "2019-12-06T12:09:05Z")

</div>

@tomasw I used the order\_update mutation to update the ignore\_address\_validation\_errors to false but this doen’t seem to work. This is the my request -

mutation{  
order\_update(data: {  
order\_id: “111091696”  
ignore\_address\_validation\_errors: false  
}){  
request\_id  
complexity  
order{id  
}  
}  
}

I am able to set other fields such as shipping address by not able to set this flag. Also I am not getting any errors in response.  
Ideally, I would like to set this flag in the order\_create api itself.

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [December 6, 2019, 2:40pm UTC](https://community.shiphero.com/t/ignore-address-validation/253/5 "2019-12-06T14:40:47Z")

</div>

I apologize for the confusion @siddharth_singh ! That is not currently available on our API, only on our [app](https://app.shiphero.com/dashboard), what I wanted to say is that I made a feature request for it  
I’ll let you know as soon as I have an update on this  
Thanks again!  
Tom

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [February 27, 2020, 10:53am UTC](https://community.shiphero.com/t/ignore-address-validation/253/6 "2020-02-27T10:53:24Z")

</div>

Hi @siddharth_singh!  
This should be available now on the API now.  
Please let me know if theres anything else I can hep you with.  
Thanks for the patience while we made this!  
Tom

---

<div class="post-metadata">

**Author:** ![Mike](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Mike](https://community.shiphero.com/u/Mike)\
**Post date:** [August 21, 2020, 8:28pm UTC](https://community.shiphero.com/t/ignore-address-validation/253/7 "2020-08-21T20:28:59Z")

</div>

The graphQL call doesn’t seem to be working.

Here’s my call to set ignore\_address\_validation\_errors: true

**request\_id: 5f402e3c8395e36093c4f0ae**

```
mutation{
  order_update(data: {
    order_id: "T3JkZXI6MTQyNjIzNjE3"
    ignore_address_validation_errors: true
  }
  ){
    order{
      order_number
      id
      ignore_address_validation_errors
    }
  }
}

```

Here’s the response (status 200 OK) yet it shows ignore\_address\_validations\_errors is still false

```
{
                "order_update": {
                    "order": {
                        "order_number": "#179409",
                        "id": "T3JkZXI6MTQyNjIzNjE3",
                        "ignore_address_validation_errors": false
                    }
                }
            }

```

Expecting it to show  
“ignore\_address\_validation\_errors”: true  
in the response

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [August 24, 2020, 12:08pm UTC](https://community.shiphero.com/t/ignore-address-validation/253/8 "2020-08-24T12:08:47Z")

</div>

Hi @Mike  
Thanks for that detailed description.  
I have already escalated this to our engineers for a fix, because as you mentioned, the change doesn’t seem to be taking place.  
I will let you know as soon as I have an update about the fix.  
Thanks again!  
Tom

---

<div class="post-metadata">

**Author:** ![fairweather](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fairweather](https://community.shiphero.com/u/fairweather)\
**Post date:** [May 20, 2021, 10:00pm UTC](https://community.shiphero.com/t/ignore-address-validation/253/9 "2021-05-20T22:00:44Z")

</div>

Resurrecting a dead thread here. Is this ever going to be updated? You have a mutation that has this property, but it is not saving it. What’s the point of having these fields in the mutations if they don’t do anything? I have been trying to update order but nothing happens. Is there something else that needs to be set to make this field save?

mutation { order\_update(data: {order\_id:“T3JkZXI6MTkxNDY5NzI5”,ignore\_address\_validation\_errors:true} ) { request\_id complexity order {  
id  
legacy\_id  
order\_number  
partner\_order\_id  
shop\_name  
fulfillment\_status  
order\_date  
total\_tax  
subtotal  
total\_discounts  
total\_price  
custom\_invoice\_url  
account\_id  
email  
profile  
packing\_note  
required\_ship\_date  
shipping\_lines  
{  
title  
price  
carrier  
method  
}  
shipping\_address  
{  
first\_name  
last\_name  
company  
address1  
address2  
city  
state  
state\_code  
zip  
country  
country\_code  
email  
phone  
}  
billing\_address  
{  
first\_name  
last\_name  
company  
address1  
address2  
city  
state  
state\_code  
zip  
country  
country\_code  
email  
phone  
}  
tags

```
 holds
   {
   fraud_hold
   address_hold
   shipping_method_hold
   operator_hold
   payment_hold
   }
  rma_labels
    {
    id
    account_id
    order_id
    rma_id
    shipment_id
    shipping_name
    tracking_number
    status
    carrier
    shipping_method
    cost
    box_code
    dimensions
      {
      weight
      height
      width
      length
      }
     address
       {
       name
       address1
       address2
       city
       state
       zip
       country
       phone
       }
      paper_pdf_location
      thermal_pdf_location
      pdf_location
      image_location
      profile
      full_size_to_print
      partner_fulfillment_id
      created_at
      updated_at
      }
     line_items
       {
       edges
         {
         node
           {
           id
           legacy_id
           sku
           partner_line_item_id
           price
           product_name
           quantity
           option_title
           fulfillment_status
           quantity_pending_fulfillment
           quantity_shipped
           quantity_allocated
           backorder_quantity
           warehouse
           custom_options
           custom_barcode
           eligible_for_return
           customs_value
           warehouse_id
           locked_to_warehouse_id
           subtotal
           barcode
           created_at
           updated_at
           order_id
           }
          }
         }
        flagged
        saturday_delivery
        ignore_address_validation_errors
        priority_flag
        allocation_priority
        }

```

} }

---

<div class="post-metadata">

**Author:** ![Theresa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/theresa/32/377_2.png) [@Theresa](https://community.shiphero.com/u/Theresa)\
**Post date:** [May 21, 2021, 2:04pm UTC](https://community.shiphero.com/t/ignore-address-validation/253/12 "2021-05-21T14:04:21Z")

</div>

I see the issue @fairweather , checking to see where to go from here.

---

<div class="post-metadata">

**Author:** ![Theresa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/theresa/32/377_2.png) [@Theresa](https://community.shiphero.com/u/Theresa)\
**Post date:** [May 21, 2021, 8:46pm UTC](https://community.shiphero.com/t/ignore-address-validation/253/14 "2021-05-21T20:46:50Z")

</div>

Hi @fairweather , your good to go!

---

<div class="post-metadata">

**Author:** ![fairweather](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fairweather](https://community.shiphero.com/u/fairweather)\
**Post date:** [May 21, 2021, 9:33pm UTC](https://community.shiphero.com/t/ignore-address-validation/253/16 "2021-05-21T21:33:24Z")

</div>

looks like it is working! Thanks for the speedy fix.
