We’re trying to validate shipping addresses for draft orders we’re creating through the API.
According to the docs, the validation is run when “You create a draft order and then add a new or existing customer to the order.” The validation does happen in the draft order UI when entering a draft manually. But we can’t figure out how to trigger a validation via the API.
We were hoping that the shippingAddress.validationResultSummary would get populated when we create a draft with a shipping address.
Anyone know if it’s possible to trigger this validation via the API before processing the order? Either when updating a draft order with the address or another way?
Also, is there a way to get the suggested address via the API when it doesn’t validate?