Ignore address validation

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?

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

@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.

@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.

I apologize for the confusion @siddharth_singh ! That is not currently available on our API, only on our app, 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

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

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

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

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
        }

} }

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

Hi @fairweather , your good to go!

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