Hi guys,
I’ve noticed that after executing this mutation:
mutation {
order_create(data: {
order_number: “emailtest1”
line_items: [
{
sku: “productcreatetest1”
partner_line_item_id: “emailtest1-1”
quantity: 1
price: “100”
}
]
shipping_address: {
email: “shipping@test.com ”
}
billing_address: {
email: “billing@test.com ”
}
}) {
order {
email
shipping_address {
email
}
billing_address {
email
}
}
}
}
both shipping address and billing address email fields are null. Why are those not used?
Regards,
Darius
tomasw
March 9, 2021, 12:33am
2
Hi @Darius_VikingC !
Thanks for catching that!. It is not properly saving, our apologies for that.
We have escalated this to our engineers. In the meantime a possible workaround would be to use the order_update mutation like:
mutation {
order_update(
data: {
order_id: "179084449"
shipping_address: { email: "billing@test.com" }
}
) {
request_id
complexity
}
}
(Billing email is an old field and at this point, it has no actual use, even though the email displays in the Billing section on the UI)
We will keep you updated on the progress of this.
Thanks in advance!
Tom
1 Like