An Order that is processed online (Source => Online Store) has a record whereby the first name was skipped in the shipping address, but for all intents, the API data was empty string or "". So we code for that.
An order that is generated for the same customer, but now, via Draft Orders, reports differently. The skipped first name in the fields is replaced with a NULL. NULL is not a nice value. Code expecting an empty string "", breaks on NULL.
Why the inconsistency here? Why can the data be cleaned up and consistent between generator sources, especially as this is all internal Shopify?
Custom Shopify Apps built just for you!