Hey all - I’ve just assembled a rather rudimentary query to get the legacy order ID attached to an order (to generate a url), and am wondering if it’s possible to get the 3PL Customer’s account name through a similar query? I’ve taken a cursory glance through the API documentation and don’t see anything that addresses it directly. The only one I’m aware of that returns the name by default is the 3pl billing.
If I need to pass the account ID through a separate query that’s totally doable, but I’m struggling to pull any documentation for it.
I can bypass the API completely and just use an external reference sheet to match the customer_account_ID up if necessary, but I’d prefer to do it all in one.
Super simple query to get the order ID below, so you know where I’m starting from:
query {
order(id: "abc123") {
request_id
complexity
data {
id
legacy_id
}
}
}
Thanks in advance!