methods ¶
OrderMethods ¶
Bases: MarketApiABCMethods
get_label async
¶
Python | |
---|---|
1 |
|
Get all labels for order in specified format. :param order_id: order id. :param format_: pdf file format. Defaults to A6
:return: PDF-file with all labels
Source code in marketplace_apis/yandex/order/methods.py
Python | |
---|---|
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
|
list_orders async
¶
Python | |
---|---|
1 |
|
List orders. :param page_size: Maximum amount of orders what will be retrieved in one request :param page: page from that order will be retrieved :param iter_: Whenever to get all postings by making multiple requests or not
:return: List of orders
Source code in marketplace_apis/yandex/order/methods.py
Python | |
---|---|
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
|
update_status async
¶
Python | |
---|---|
1 |
|
Update status of order. :param order_id: order id. :param status: new status :param substatus: new substatus
:return: updated order
Source code in marketplace_apis/yandex/order/methods.py
Python | |
---|---|
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
|