We are trying to update the warehouse on the orders.

Company ID:
570653
Ordoro login:
alexis.silva@bringitps.com
What can we help you with?
Orders
Orders Subcategory:
Order Management
Your name:
Alexis Siva
Your email:
alexis.silva@bringitps.com
Order ID:
M-20190805-152757
Describe the problem you’re having:
We are trying to update the warehouse on the orders.

Http Method PUT
URL: https://api.ordoro.com/order/M-20190805-152757/warehouse

Body:
{
“warehouse_id”: 63248
}

Response:
{
“error_message”: “‘NoneType’ object has no attribute ‘rule’”,
“param”: null
}

Hi @Rmanougian,

There’s a couple things going on here. Since this company is a v3 company, they’re going to want to use https://apiverson.ordoro.com/ as their base url for all things orders. That should solve this specific issue for them.

In the future, however, this error is generally due to a trailing slash mismatch. V2 endpoints use a trailing slash and v3 do not.

Eg.)
v3 order -> https://apiverson.ordoro.com/order
v2 company -> https://api.ordoro.com/company/

The reason this error shows up here is because there’s an order endpoint on the v2 API, which is what this is currently hitting, causing it to think that’s the error.

1 Like