python-magento icon indicating copy to clipboard operation
python-magento copied to clipboard

sales_order.search() says invalid api path when used for magento 1.9

Open Raj160907 opened this issue 4 years ago • 12 comments

Expected Behavior

client.order.search() -> should give the function takes5 arguments but one provided

Actual Behavior

client.order.search() -> says invalid api path

Steps to Reproduce the Problem

Specifications

  • Version: latest
  • Platform: magento 1.9
  • Subsystem:

Raj160907 avatar Mar 19 '21 05:03 Raj160907

Hello,

I tested here, the same problem.

-> Solution get all client.order.list() And use your self a filter

Gabriel712 avatar Mar 25 '21 20:03 Gabriel712

but in client.order.list() -> *pagination *doesn't seem to work.

On Fri, 26 Mar 2021 at 02:17, Gabriel S santos @.***> wrote:

Hello,

I tested here, the same problem. -> Solution get all client.order.list() And use your self a filter

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fulfilio/python-magento/issues/26#issuecomment-807458028, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQK665N2AHGT2DYJ2FFPSWTTFOOPNANCNFSM4ZODA3LQ .

Raj160907 avatar Mar 25 '21 20:03 Raj160907

pagination is not supported in sales_order.list() API

Raj160907 avatar Mar 25 '21 20:03 Raj160907

Hi, i tested this here. It's OK! How many products you have ?

Gabriel712 avatar Mar 26 '21 11:03 Gabriel712

i dont have products but i have 100 orders and i want it to display 25 orders per page

Raj160907 avatar Mar 26 '21 11:03 Raj160907

*pagination *doesn't seem to work. * is your error ?

Gabriel712 avatar Mar 26 '21 11:03 Gabriel712

yes, please help me how can i apply pagination in order.list() or in any api?

Raj160907 avatar Mar 26 '21 11:03 Raj160907

show me your code

Gabriel712 avatar Mar 26 '21 11:03 Gabriel712

sales_order.search() says invalid api path and there's nothing like pagination in sales_order.list() api

Raj160907 avatar Mar 26 '21 11:03 Raj160907

Maybe client.order.search() have a error;

Use the client.order.list()

Gabriel712 avatar Mar 26 '21 11:03 Gabriel712

please tel me how to use client.order.list() for pagination

Raj160907 avatar Mar 26 '21 11:03 Raj160907

Raj, i found a error.

"invalid api" is an error of importation, Call me, [email protected]

http://devdocs.mageshop.com.br/devdocs.magento.com/guides/m1x/api/soap/sales/sales.html

Gabriel712 avatar May 22 '21 12:05 Gabriel712