That warehouse ID you are seeing is the uuid of the warehouse (which will be replacing the legacy_id in the future).
You could look at the warehouses available on your account by using this query:
query {
account {
request_id
complexity
data {
id
legacy_id
email
warehouses{
id
legacy_id
account_id
identifier
profile
}
}
}
}
There you’ll be able to see your account info with all the warehouses available (you can see both legacy_id and id)
As for the issue not being able to link to the warehouse, is there any chance you can show me the Mutation so I can have a look/replicate on my account?
I do notice you are sending 0 quantity of the line item, and status of canceled for it, while the order is pending. If you use quantity>0 and pending do you still get the same error?