python-amazon-sp-api 1.9.20__tar.gz → 1.9.21__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. {python_amazon_sp_api-1.9.20/python_amazon_sp_api.egg-info → python_amazon_sp_api-1.9.21}/PKG-INFO +1 -1
  2. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/make_endpoint/make_endpoint +3 -3
  3. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21/python_amazon_sp_api.egg-info}/PKG-INFO +1 -1
  4. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/python_amazon_sp_api.egg-info/SOURCES.txt +2 -0
  5. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/setup.py +1 -0
  6. python_amazon_sp_api-1.9.21/sp_api/__version__.py +1 -0
  7. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/__init__.py +8 -0
  8. python_amazon_sp_api-1.9.21/sp_api/api/easy_ship/easy_ship.py +190 -0
  9. python_amazon_sp_api-1.9.21/tests/client/__init__.py +0 -0
  10. python_amazon_sp_api-1.9.20/sp_api/__version__.py +0 -1
  11. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/LICENSE +0 -0
  12. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/README.md +0 -0
  13. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/python_amazon_sp_api.egg-info/dependency_links.txt +0 -0
  14. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/python_amazon_sp_api.egg-info/requires.txt +0 -0
  15. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/python_amazon_sp_api.egg-info/top_level.txt +0 -0
  16. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/setup.cfg +0 -0
  17. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/__init__.py +0 -0
  18. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/amazon_warehousing_and_distribu/__init__.py +0 -0
  19. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py +0 -0
  20. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/aplus_content/__init__.py +0 -0
  21. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/aplus_content/aplus_content.py +0 -0
  22. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/application_management/__init__.py +0 -0
  23. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/application_management/application_management.py +0 -0
  24. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/authorization/__init__.py +0 -0
  25. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/authorization/authorization.py +0 -0
  26. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/catalog/__init__.py +0 -0
  27. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/catalog/catalog.py +0 -0
  28. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/catalog_items/__init__.py +0 -0
  29. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/catalog_items/catalog_items.py +0 -0
  30. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/data_kiosk/__init__.py +0 -0
  31. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/data_kiosk/data_kiosk.py +0 -0
  32. {python_amazon_sp_api-1.9.20/sp_api/api/fba_inbound_eligibility → python_amazon_sp_api-1.9.21/sp_api/api/easy_ship}/__init__.py +0 -0
  33. {python_amazon_sp_api-1.9.20/sp_api/api/fba_small_and_light → python_amazon_sp_api-1.9.21/sp_api/api/fba_inbound_eligibility}/__init__.py +0 -0
  34. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/fba_inbound_eligibility/fba_inbound_eligibility.py +0 -0
  35. {python_amazon_sp_api-1.9.20/sp_api/api/feeds → python_amazon_sp_api-1.9.21/sp_api/api/fba_small_and_light}/__init__.py +0 -0
  36. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/fba_small_and_light/fba_small_and_light.py +0 -0
  37. {python_amazon_sp_api-1.9.20/sp_api/api/finances → python_amazon_sp_api-1.9.21/sp_api/api/feeds}/__init__.py +0 -0
  38. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/feeds/feeds.py +0 -0
  39. {python_amazon_sp_api-1.9.20/sp_api/api/fulfillment_inbound → python_amazon_sp_api-1.9.21/sp_api/api/finances}/__init__.py +0 -0
  40. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/finances/finances.py +0 -0
  41. {python_amazon_sp_api-1.9.20/sp_api/api/fulfillment_outbound → python_amazon_sp_api-1.9.21/sp_api/api/fulfillment_inbound}/__init__.py +0 -0
  42. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/fulfillment_inbound/fulfillment_inbound.py +0 -0
  43. {python_amazon_sp_api-1.9.20/sp_api/api/inventories → python_amazon_sp_api-1.9.21/sp_api/api/fulfillment_outbound}/__init__.py +0 -0
  44. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/fulfillment_outbound/fulfillment_outbound.py +0 -0
  45. {python_amazon_sp_api-1.9.20/sp_api/api/listings_items → python_amazon_sp_api-1.9.21/sp_api/api/inventories}/__init__.py +0 -0
  46. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/inventories/inventories.py +0 -0
  47. {python_amazon_sp_api-1.9.20/sp_api/api/listings_restrictions → python_amazon_sp_api-1.9.21/sp_api/api/listings_items}/__init__.py +0 -0
  48. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/listings_items/listings_items.py +0 -0
  49. {python_amazon_sp_api-1.9.20/sp_api/api/merchant_fulfillment → python_amazon_sp_api-1.9.21/sp_api/api/listings_restrictions}/__init__.py +0 -0
  50. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/listings_restrictions/listings_restrictions.py +0 -0
  51. {python_amazon_sp_api-1.9.20/sp_api/api/messaging → python_amazon_sp_api-1.9.21/sp_api/api/merchant_fulfillment}/__init__.py +0 -0
  52. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/merchant_fulfillment/merchant_fulfillment.py +0 -0
  53. {python_amazon_sp_api-1.9.20/sp_api/api/notifications → python_amazon_sp_api-1.9.21/sp_api/api/messaging}/__init__.py +0 -0
  54. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/messaging/messaging.py +0 -0
  55. {python_amazon_sp_api-1.9.20/sp_api/api/orders → python_amazon_sp_api-1.9.21/sp_api/api/notifications}/__init__.py +0 -0
  56. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/notifications/notifications.py +0 -0
  57. {python_amazon_sp_api-1.9.20/sp_api/api/product_fees → python_amazon_sp_api-1.9.21/sp_api/api/orders}/__init__.py +0 -0
  58. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/orders/orders.py +0 -0
  59. {python_amazon_sp_api-1.9.20/sp_api/api/product_type_definitions → python_amazon_sp_api-1.9.21/sp_api/api/product_fees}/__init__.py +0 -0
  60. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/product_fees/product_fees.py +0 -0
  61. {python_amazon_sp_api-1.9.20/sp_api/api/products → python_amazon_sp_api-1.9.21/sp_api/api/product_type_definitions}/__init__.py +0 -0
  62. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/product_type_definitions/product_type_definitions.py +0 -0
  63. {python_amazon_sp_api-1.9.20/sp_api/api/replenishment → python_amazon_sp_api-1.9.21/sp_api/api/products}/__init__.py +0 -0
  64. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/products/products.py +0 -0
  65. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/products/products_definitions.py +0 -0
  66. {python_amazon_sp_api-1.9.20/sp_api/api/reports → python_amazon_sp_api-1.9.21/sp_api/api/replenishment}/__init__.py +0 -0
  67. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/replenishment/replenishment.py +0 -0
  68. {python_amazon_sp_api-1.9.20/sp_api/api/sales → python_amazon_sp_api-1.9.21/sp_api/api/reports}/__init__.py +0 -0
  69. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/reports/reports.py +0 -0
  70. {python_amazon_sp_api-1.9.20/sp_api/api/sellers → python_amazon_sp_api-1.9.21/sp_api/api/sales}/__init__.py +0 -0
  71. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/sales/sales.py +0 -0
  72. {python_amazon_sp_api-1.9.20/sp_api/api/services → python_amazon_sp_api-1.9.21/sp_api/api/sellers}/__init__.py +0 -0
  73. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/sellers/sellers.py +0 -0
  74. {python_amazon_sp_api-1.9.20/sp_api/api/shipping → python_amazon_sp_api-1.9.21/sp_api/api/services}/__init__.py +0 -0
  75. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/services/services.py +0 -0
  76. {python_amazon_sp_api-1.9.20/sp_api/api/solicitations → python_amazon_sp_api-1.9.21/sp_api/api/shipping}/__init__.py +0 -0
  77. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/shipping/shipping.py +0 -0
  78. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/shipping/shippingV2.py +0 -0
  79. {python_amazon_sp_api-1.9.20/sp_api/api/supply_sources → python_amazon_sp_api-1.9.21/sp_api/api/solicitations}/__init__.py +0 -0
  80. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/solicitations/solicitations.py +0 -0
  81. {python_amazon_sp_api-1.9.20/sp_api/api/tokens → python_amazon_sp_api-1.9.21/sp_api/api/supply_sources}/__init__.py +0 -0
  82. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/supply_sources/supply_sources.py +0 -0
  83. {python_amazon_sp_api-1.9.20/sp_api/api/upload → python_amazon_sp_api-1.9.21/sp_api/api/tokens}/__init__.py +0 -0
  84. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/tokens/tokens.py +0 -0
  85. {python_amazon_sp_api-1.9.20/sp_api/api/vendor_direct_fulfillment_inventory → python_amazon_sp_api-1.9.21/sp_api/api/upload}/__init__.py +0 -0
  86. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/upload/upload.py +0 -0
  87. {python_amazon_sp_api-1.9.20/sp_api/api/vendor_direct_fulfillment_orders → python_amazon_sp_api-1.9.21/sp_api/api/vendor_direct_fulfillment_inventory}/__init__.py +0 -0
  88. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/vendor_direct_fulfillment_inventory/vendor_direct_fulfillment_inventory.py +0 -0
  89. {python_amazon_sp_api-1.9.20/sp_api/api/vendor_direct_fulfillment_payments → python_amazon_sp_api-1.9.21/sp_api/api/vendor_direct_fulfillment_orders}/__init__.py +0 -0
  90. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders.py +0 -0
  91. {python_amazon_sp_api-1.9.20/sp_api/api/vendor_direct_fulfillment_shipping → python_amazon_sp_api-1.9.21/sp_api/api/vendor_direct_fulfillment_payments}/__init__.py +0 -0
  92. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/vendor_direct_fulfillment_payments/vendor_direct_fulfillment_payments.py +0 -0
  93. {python_amazon_sp_api-1.9.20/sp_api/api/vendor_direct_fulfillment_transactions → python_amazon_sp_api-1.9.21/sp_api/api/vendor_direct_fulfillment_shipping}/__init__.py +0 -0
  94. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping.py +0 -0
  95. {python_amazon_sp_api-1.9.20/sp_api/api/vendor_invoices → python_amazon_sp_api-1.9.21/sp_api/api/vendor_direct_fulfillment_transactions}/__init__.py +0 -0
  96. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions.py +0 -0
  97. {python_amazon_sp_api-1.9.20/sp_api/api/vendor_orders → python_amazon_sp_api-1.9.21/sp_api/api/vendor_invoices}/__init__.py +0 -0
  98. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/vendor_invoices/vendor_invoices.py +0 -0
  99. {python_amazon_sp_api-1.9.20/sp_api/api/vendor_shipments → python_amazon_sp_api-1.9.21/sp_api/api/vendor_orders}/__init__.py +0 -0
  100. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/vendor_orders/vendor_orders.py +0 -0
  101. {python_amazon_sp_api-1.9.20/sp_api/api/vendor_transaction_status → python_amazon_sp_api-1.9.21/sp_api/api/vendor_shipments}/__init__.py +0 -0
  102. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/vendor_shipments/vendor_shipments.py +0 -0
  103. {python_amazon_sp_api-1.9.20/tests → python_amazon_sp_api-1.9.21/sp_api/api/vendor_transaction_status}/__init__.py +0 -0
  104. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/api/vendor_transaction_status/vendor_transaction_status.py +0 -0
  105. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/auth/__init__.py +0 -0
  106. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/auth/access_token_client.py +0 -0
  107. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/auth/access_token_response.py +0 -0
  108. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/auth/credentials.py +0 -0
  109. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/auth/exceptions.py +0 -0
  110. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/ApiResponse.py +0 -0
  111. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/InventoryEnums.py +0 -0
  112. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/__init__.py +0 -0
  113. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/base_client.py +0 -0
  114. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/client.py +0 -0
  115. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/credential_provider.py +0 -0
  116. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/exceptions.py +0 -0
  117. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/feedTypes.py +0 -0
  118. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/fulfillment_channel.py +0 -0
  119. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/helpers.py +0 -0
  120. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/identifiersType.py +0 -0
  121. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/included_data.py +0 -0
  122. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/inegibility_reasons.py +0 -0
  123. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/marketplaces.py +0 -0
  124. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/notifications.py +0 -0
  125. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/processing_status.py +0 -0
  126. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/reportTypes.py +0 -0
  127. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/report_status.py +0 -0
  128. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/sales_enum.py +0 -0
  129. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/base/schedules.py +0 -0
  130. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/util/__init__.py +0 -0
  131. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/util/key_maker.py +0 -0
  132. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/util/load_all_pages.py +0 -0
  133. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/util/load_date_bound.py +0 -0
  134. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/sp_api/util/retry.py +0 -0
  135. {python_amazon_sp_api-1.9.20/tests/api → python_amazon_sp_api-1.9.21/tests}/__init__.py +0 -0
  136. {python_amazon_sp_api-1.9.20/tests/api/finances → python_amazon_sp_api-1.9.21/tests/api}/__init__.py +0 -0
  137. {python_amazon_sp_api-1.9.20/tests/api/notifications → python_amazon_sp_api-1.9.21/tests/api/finances}/__init__.py +0 -0
  138. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/tests/api/finances/test_finances.py +0 -0
  139. {python_amazon_sp_api-1.9.20/tests/api/orders → python_amazon_sp_api-1.9.21/tests/api/notifications}/__init__.py +0 -0
  140. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/tests/api/notifications/test_notifications.py +0 -0
  141. {python_amazon_sp_api-1.9.20/tests/api/product_fees → python_amazon_sp_api-1.9.21/tests/api/orders}/__init__.py +0 -0
  142. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/tests/api/orders/test_orders.py +0 -0
  143. {python_amazon_sp_api-1.9.20/tests/api/reports → python_amazon_sp_api-1.9.21/tests/api/product_fees}/__init__.py +0 -0
  144. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/tests/api/product_fees/product_fees.py +0 -0
  145. {python_amazon_sp_api-1.9.20/tests/api/sellers → python_amazon_sp_api-1.9.21/tests/api/reports}/__init__.py +0 -0
  146. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/tests/api/reports/test_reports.py +0 -0
  147. {python_amazon_sp_api-1.9.20/tests/client → python_amazon_sp_api-1.9.21/tests/api/sellers}/__init__.py +0 -0
  148. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/tests/api/sellers/test_sellers.py +0 -0
  149. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/tests/client/test_auth.py +0 -0
  150. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/tests/client/test_base.py +0 -0
  151. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/tests/client/test_credential_provider.py +0 -0
  152. {python_amazon_sp_api-1.9.20 → python_amazon_sp_api-1.9.21}/tests/client/test_helpers.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: python-amazon-sp-api
3
- Version: 1.9.20
3
+ Version: 1.9.21
4
4
  Summary: Python wrapper for the Amazon Selling-Partner API
5
5
  Home-page: https://github.com/saleweaver/python-amazon-sp-api
6
6
  Author: Michael
@@ -52,7 +52,7 @@ def sub(e):
52
52
 
53
53
 
54
54
  def make_endpoint_name(s):
55
- return re.sub(r'-([a-zA-Z])', lambda match: r'{}'.format(match.group(1).upper()), s[0].upper() + s[1:])
55
+ return re.sub('-', '_', re.sub(r'-([a-zA-Z])', lambda match: r'{}'.format(match.group(1).upper()), s[0].upper() + s[1:]))
56
56
 
57
57
 
58
58
  def make_directory(endpoint):
@@ -142,9 +142,9 @@ def get_endpoint_from_url(url):
142
142
 
143
143
 
144
144
  if __name__ == '__main__':
145
- args = parse_args()
145
+ # args = parse_args()
146
146
 
147
- create_endpoint_file(args.model_url)
147
+ create_endpoint_file('https://raw.githubusercontent.com/amzn/selling-partner-api-models/refs/heads/main/models/easy-ship-model/easyShip_2022-03-23.json')
148
148
  # for model_json_url in [
149
149
  # # 'https://raw.githubusercontent.com/amzn/selling-partner-api-models/main/models/fulfillment-outbound-api-model/fulfillmentOutbound_2020-07-01.json',
150
150
  # # 'https://raw.githubusercontent.com/amzn/selling-partner-api-models/main/models/aplus-content-api-model/aplusContent_2020-11-01.json',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: python-amazon-sp-api
3
- Version: 1.9.20
3
+ Version: 1.9.21
4
4
  Summary: Python wrapper for the Amazon Selling-Partner API
5
5
  Home-page: https://github.com/saleweaver/python-amazon-sp-api
6
6
  Author: Michael
@@ -25,6 +25,8 @@ sp_api/api/catalog_items/__init__.py
25
25
  sp_api/api/catalog_items/catalog_items.py
26
26
  sp_api/api/data_kiosk/__init__.py
27
27
  sp_api/api/data_kiosk/data_kiosk.py
28
+ sp_api/api/easy_ship/__init__.py
29
+ sp_api/api/easy_ship/easy_ship.py
28
30
  sp_api/api/fba_inbound_eligibility/__init__.py
29
31
  sp_api/api/fba_inbound_eligibility/fba_inbound_eligibility.py
30
32
  sp_api/api/fba_small_and_light/__init__.py
@@ -40,6 +40,7 @@ setup(
40
40
  'sp_api.base',
41
41
  'sp_api.util',
42
42
  ##### DO NOT DELETE ########## INSERT PACKAGE HERE #######
43
+ 'sp_api.api.easy_ship',
43
44
  'sp_api.api.listings_restrictions',
44
45
  'sp_api.api.amazon_warehousing_and_distribu',
45
46
  'sp_api.api.catalog_items',
@@ -0,0 +1 @@
1
+ __version__ = '1.9.21'
@@ -22,6 +22,9 @@ from .messaging.messaging import Messaging
22
22
  from .merchant_fulfillment.merchant_fulfillment import MerchantFulfillment
23
23
 
24
24
  ##### DO NOT DELETE ########## INSERT IMPORT HERE #######
25
+ from .easy_ship.easy_ship import EasyShip
26
+
27
+
25
28
 
26
29
  from .listings_restrictions.listings_restrictions import ListingsRestrictions
27
30
 
@@ -110,6 +113,11 @@ __all__ = [
110
113
  "FulfillmentInbound",
111
114
  "MerchantFulfillment",
112
115
  ##### DO NOT DELETE ########## INSERT TITLE HERE #######
116
+ "EasyShip",
117
+
118
+
119
+ "FulfillmentInbound",
120
+
113
121
  "ListingsRestrictions",
114
122
  "CatalogItemsVersion",
115
123
  "AmazonWarehousingAndDistributionVersion",
@@ -0,0 +1,190 @@
1
+ import urllib.parse
2
+
3
+ from sp_api.base import Client, sp_endpoint, fill_query_params, ApiResponse
4
+
5
+
6
+ class EasyShip(Client):
7
+ """
8
+ Easy_ SP-API Client
9
+ :link:
10
+
11
+ Use the Selling Partner API for Easy Ship to build applications for sellers to manage and ship Amazon Easy Ship orders. With this API, you can get available time slots, schedule and reschedule Easy Ship orders, and print shipping labels, invoices, and warranties. To review the differences in Easy Ship operations by marketplace, refer to [Marketplace support](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support).
12
+ """
13
+
14
+
15
+ @sp_endpoint('/easyShip/2022-03-23/timeSlot', method='POST')
16
+ def list_handover_slots(self, **kwargs) -> ApiResponse:
17
+ """
18
+ list_handover_slots(self, **kwargs) -> ApiResponse
19
+
20
+ Returns time slots available for Easy Ship orders to be scheduled based on the package weight and dimensions that the seller specifies.
21
+
22
+ This operation is available for scheduled and unscheduled orders based on marketplace support. See **Get Time Slots** in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table).
23
+
24
+ This operation can return time slots that have either pickup or drop-off handover methods - see **Supported Handover Methods** in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table).
25
+
26
+ **Usage Plan:**
27
+
28
+ | Rate (requests per second) | Burst |
29
+ | ---- | ---- |
30
+ | 1 | 5 |
31
+
32
+ The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
33
+
34
+ Args:
35
+
36
+ ListHandoverSlotsRequest: | {'description': 'The request schema for the `listHandoverSlots` operation.',
37
+ 'properties': {'amazonOrderId': {'$ref': '#/definitions/AmazonOrderId'}, 'marketplaceId': {'$ref': '#/definitions/String'}, 'packageDimensions': {'$ref': '#/definitions/Dimensions'}, 'packageWeight': {'$ref': '#/definitions/Weight'}},
38
+ 'required': ['marketplaceId', 'amazonOrderId', 'packageDimensions', 'packageWeight'],
39
+ 'type': 'object'}
40
+
41
+
42
+ Returns:
43
+ ApiResponse:
44
+ """
45
+
46
+ return self._request(kwargs.pop('path'), data=kwargs)
47
+
48
+
49
+ @sp_endpoint('/easyShip/2022-03-23/package', method='GET')
50
+ def get_scheduled_package(self, **kwargs) -> ApiResponse:
51
+ """
52
+ get_scheduled_package(self, **kwargs) -> ApiResponse
53
+
54
+ Returns information about a package, including dimensions, weight, time slot information for handover, invoice and item information, and status.
55
+
56
+ **Usage Plan:**
57
+
58
+ | Rate (requests per second) | Burst |
59
+ | ---- | ---- |
60
+ | 1 | 5 |
61
+
62
+ The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
63
+
64
+ Args:
65
+
66
+ key amazonOrderId:string | * REQUIRED An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship.
67
+
68
+ key marketplaceId:string | * REQUIRED An identifier for the marketplace in which the seller is selling.
69
+
70
+
71
+ Returns:
72
+ ApiResponse:
73
+ """
74
+
75
+ return self._request(kwargs.pop('path'), params=kwargs)
76
+
77
+
78
+ @sp_endpoint('/easyShip/2022-03-23/package', method='POST')
79
+ def create_scheduled_package(self, **kwargs) -> ApiResponse:
80
+ """
81
+ create_scheduled_package(self, **kwargs) -> ApiResponse
82
+
83
+ Schedules an Easy Ship order and returns the scheduled package information.
84
+
85
+ This operation does the following:
86
+
87
+ * Specifies the time slot and handover method for the order to be scheduled for delivery.
88
+
89
+ * Updates the Easy Ship order status.
90
+
91
+ * Generates a shipping label and an invoice. Calling `createScheduledPackage` also generates a warranty document if you specify a `SerialNumber` value. To get these documents, see [How to get invoice, shipping label, and warranty documents](doc:easyship-api-v2022-03-23-use-case-guide).
92
+
93
+ * Shows the status of Easy Ship orders when you call the `getOrders` operation of the Selling Partner API for Orders and examine the `EasyShipShipmentStatus` property in the response body.
94
+
95
+ See the **Shipping Label**, **Invoice**, and **Warranty** columns in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) to see which documents are supported in each marketplace.
96
+
97
+ **Usage Plan:**
98
+
99
+ | Rate (requests per second) | Burst |
100
+ | ---- | ---- |
101
+ | 1 | 5 |
102
+
103
+ The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
104
+
105
+ Args:
106
+
107
+ CreateScheduledPackageRequest: | * REQUIRED {'description': 'The request schema for the `createScheduledPackage` operation.',
108
+ 'properties': {'amazonOrderId': {'$ref': '#/definitions/AmazonOrderId'}, 'marketplaceId': {'$ref': '#/definitions/String'}, 'packageDetails': {'$ref': '#/definitions/PackageDetails'}},
109
+ 'required': ['amazonOrderId', 'marketplaceId', 'packageDetails'],
110
+ 'type': 'object'}
111
+
112
+
113
+ Returns:
114
+ ApiResponse:
115
+ """
116
+
117
+ return self._request(kwargs.pop('path'), data=kwargs)
118
+
119
+
120
+ @sp_endpoint('/easyShip/2022-03-23/package', method='PATCH')
121
+ def update_scheduled_packages(self, **kwargs) -> ApiResponse:
122
+ """
123
+ update_scheduled_packages(self, **kwargs) -> ApiResponse
124
+
125
+ Updates the time slot for handing over the package indicated by the specified `scheduledPackageId`. You can get the new `slotId` value for the time slot by calling the `listHandoverSlots` operation before making another `patch` call.
126
+
127
+ See the **Update Package** column in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) to see which marketplaces this operation is supported in.
128
+
129
+ **Usage Plan:**
130
+
131
+ | Rate (requests per second) | Burst |
132
+ | ---- | ---- |
133
+ | 1 | 5 |
134
+
135
+ The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
136
+
137
+ Args:
138
+
139
+ UpdateScheduledPackagesRequest: | {'description': 'The request schema for the `updateScheduledPackages` operation.',
140
+ 'properties': {'marketplaceId': {'$ref': '#/definitions/String'}, 'updatePackageDetailsList': {'$ref': '#/definitions/UpdatePackageDetailsList'}},
141
+ 'required': ['marketplaceId', 'updatePackageDetailsList'],
142
+ 'type': 'object'}
143
+
144
+
145
+ Returns:
146
+ ApiResponse:
147
+ """
148
+
149
+ return self._request(kwargs.pop('path'), data=kwargs)
150
+
151
+
152
+ @sp_endpoint('/easyShip/2022-03-23/packages/bulk', method='POST')
153
+ def create_scheduled_package_bulk(self, **kwargs) -> ApiResponse:
154
+ """
155
+ create_scheduled_package_bulk(self, **kwargs) -> ApiResponse
156
+
157
+ This operation automatically schedules a time slot for all the `amazonOrderId`s given as input, generating the associated shipping labels, along with other compliance documents according to the marketplace (refer to the [marketplace document support table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table)).
158
+
159
+ Developers calling this operation may optionally assign a `packageDetails` object, allowing them to input a preferred time slot for each order in their request. In this case, Amazon will try to schedule the respective packages using their optional settings. On the other hand, *i.e.*, if the time slot is not provided, Amazon will then pick the earliest time slot possible.
160
+
161
+ Regarding the shipping label's file format, external developers are able to choose between PDF or ZPL, and Amazon will create the label accordingly.
162
+
163
+ This operation returns an array composed of the scheduled packages, and a short-lived URL pointing to a zip file containing the generated shipping labels and the other documents enabled for your marketplace. If at least an order couldn't be scheduled, then Amazon adds the `rejectedOrders` list into the response, which contains an entry for each order we couldn't process. Each entry is composed of an error message describing the reason of the failure, so that sellers can take action.
164
+
165
+ The table below displays the supported request and burst maximum rates:
166
+
167
+ **Usage Plan:**
168
+
169
+ | Rate (requests per second) | Burst |
170
+ | ---- | ---- |
171
+ | 1 | 5 |
172
+
173
+ The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
174
+
175
+ Args:
176
+
177
+ CreateScheduledPackagesRequest: | * REQUIRED {'description': 'The request body for the POST /easyShip/2022-03-23/packages/bulk API.',
178
+ 'properties': {'labelFormat': {'$ref': '#/definitions/LabelFormat'},
179
+ 'marketplaceId': {'$ref': '#/definitions/String'},
180
+ 'orderScheduleDetailsList': {'description': 'An array allowing users to specify orders to be scheduled.', 'items': {'$ref': '#/definitions/OrderScheduleDetails'}, 'minItems': 1, 'type': 'array'}},
181
+ 'required': ['marketplaceId', 'orderScheduleDetailsList', 'labelFormat'],
182
+ 'type': 'object'}
183
+
184
+
185
+ Returns:
186
+ ApiResponse:
187
+ """
188
+
189
+ return self._request(kwargs.pop('path'), data=kwargs)
190
+
File without changes
@@ -1 +0,0 @@
1
- __version__ = '1.9.20'