fulfilio / python-magento

Python API to access magento API
BSD 3-Clause "New" or "Revised" License
47 stars 61 forks source link

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

Open Raj160907 opened 3 years ago

Raj160907 commented 3 years ago

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

1. 1. 1.

Specifications

Gabriel712 commented 3 years ago

Hello,

I tested here, the same problem.

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

Raj160907 commented 3 years ago

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 commented 3 years ago

pagination is not supported in sales_order.list() API

Gabriel712 commented 3 years ago

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

Raj160907 commented 3 years ago

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

Gabriel712 commented 3 years ago

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

Raj160907 commented 3 years ago

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

Gabriel712 commented 3 years ago

show me your code

Raj160907 commented 3 years ago

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

Gabriel712 commented 3 years ago

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

Use the client.order.list()

Raj160907 commented 3 years ago

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

Gabriel712 commented 3 years ago

Raj, i found a error.

"invalid api" is an error of importation, Call me, frix131@gmail.com

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