I am updating order shipping address via API with but it is removing latitude and longitude

Topic summary

A developer is experiencing an issue when updating order shipping addresses through the Shopify API. When sending a PUT/POST request with a payload that includes latitude and longitude coordinates along with other address fields, Shopify’s admin logs indicate that the coordinates are being removed, even though only the first name was intentionally changed.

However, when retrieving the same order via API afterward, the latitude and longitude values are still present in the response. This creates confusion about whether the coordinates are actually being removed or if there’s a discrepancy between what the admin logs report and what the API returns.

The issue remains unresolved with no responses yet explaining this behavior or offering solutions.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

I am updating an order shipping_address with this payload

{
  "order" : {
    "id" : order_id,
    "shipping_address" : {
      "address1" : "411 A1",
      "city" : "some-city",
      "country" : "some-country",
      "name" : "Test Tests",
      "phone" : "+some-phone",
      "latitude" : 31.469693,
      "longitude" : 74.27284610000001,
      "zip" : "",
      "province" : ""
    }
  }
}

where I have just updated the first name. When this request is accepted, the logs with order on Shopify admin says shipping address updated, first name updated from this to this, Longitude removed, Latitude removed.

But when I get the order again via API, it return both the latitude and longitude. What is going wrong?