What is the warehouse id we need to use?

  1. warehouse id:

When we send new order via API to shiphero there is no warehouse info in the list:

Can someone clarify what the warehouse ID should be and where we find it?

however, if I put that id in the API request I get this error https://www.screencast.com/t/OEjSyZNa7ca

Hi @mazdamx!

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?