Rates request from shopify missing address information

bdozonos
Tourist
5 1 0

So the issue is we are providing shipping rates through our own app using the carrier_service api but when the customer moves from the shipping address section to the shipping method selection section the request that Shopify is sending us is pretty regularly missing address information. 

Often it's just missing address line 1 but there have been quite a few times, across multiple stores, where the majority of the information is null.
Just one example:

 rates request: {
 "rate": {
   "destination": {
     "country": "CA",
     "postal_code": "M5H 2N2",
     "province": "ON",
     "city": null,
     "name": null,
     "address1": null,
     "address2": null,
     "address3": null,
     "phone": null,
     "fax": null,
     "email": null,
     "address_type": null,
     "company_name": null
   }

---HEADERS----
Headers: {"host":"<http://shop-dutytax.zonos.com|shop-dutytax.zonos.com>","connection":"close","content-type":"application/json","x-shopify-hmac-sha256":"irW/As8Y0RhcdTv4YxnlWkLFK7C5soigCi9SJlAe4eI=","x-shopify-shop-domain":"<http://luli-fama.myshopify.com|luli-fama.myshopify.com>","x-shopify-timeout":"10000","accept-encoding":"gzip;q=1.0,deflate;q=0.6,identity;q=0.3","accept":"/","user-agent":"Ruby","x-request-id":"96c0e182-e0ae-4e6f-89ef-be270454f989","x-forwarded-for":"35.192.144.88","x-forwarded-proto":"https","x-forwarded-port":"443","via":"1.1 vegur","connect-time":"1","x-request-start":"1612456755964","total-route-time":"0","content-length":"3577"}

 

0 Likes