shippingAddress and billingAddress are not saving to order via orderCreate

I’m passing in shippingAddress and billingAddress into the createOrder mutation (tried 2024-10 and 2025-01) and it’s creating the order with a blank billing address and shipping address.

I’ve tried it with and without the company location ID set.

I’m also not getting anything back in userErrors.

 "shippingAddress": {
      "address1": "***,
      "address2": "***",
      "city": "***",
      "provinceCode": "CA",
      "zip": "***",
      "countryCode": "US"
    },
    "billingAddress": {
      "address1": "***",
      "address2": "***",
      "city": "***",
      "provinceCode": "HI",
      "zip": "***",
      "countryCode": "US"
    },

Hi @kalen you need to include lastName for both addresses.

2 Likes

Thanks - so it’s just failing to throw a validation error at the mooment and silently dropping the address?

Thanks for bringing this up @kalen. We’ve added an issue to our backlog to improve this behaviour.

4 Likes

That seems to be the case. It’s certainly not a behavior that helps with debugging errors.

1 Like