module Peddler
Constants
- ENDPOINTS
- Endpoint
- MARKETPLACE_IDS
- Marketplace
- VERSION
Public Class Methods
amazon_warehousing_and_distribution_2024_05_09(...)
click to toggle source
# File lib/peddler/api/amazon_warehousing_and_distribution_2024_05_09.rb, line 7 def amazon_warehousing_and_distribution_2024_05_09(...) API::AmazonWarehousingAndDistribution20240509.new(...) end
aplus_content_2020_11_01(...)
click to toggle source
# File lib/peddler/api/aplus_content_2020_11_01.rb, line 7 def aplus_content_2020_11_01(...) API::AplusContent20201101.new(...) end
application_integrations_2024_04_01(...)
click to toggle source
# File lib/peddler/api/application_integrations_2024_04_01.rb, line 7 def application_integrations_2024_04_01(...) API::ApplicationIntegrations20240401.new(...) end
application_management_2023_11_30(...)
click to toggle source
# File lib/peddler/api/application_management_2023_11_30.rb, line 7 def application_management_2023_11_30(...) API::ApplicationManagement20231130.new(...) end
catalog_items_2020_12_01(...)
click to toggle source
# File lib/peddler/api/catalog_items_2020_12_01.rb, line 7 def catalog_items_2020_12_01(...) API::CatalogItems20201201.new(...) end
catalog_items_2022_04_01(...)
click to toggle source
# File lib/peddler/api/catalog_items_2022_04_01.rb, line 7 def catalog_items_2022_04_01(...) API::CatalogItems20220401.new(...) end
catalog_items_v0(...)
click to toggle source
# File lib/peddler/api/catalog_items_v0.rb, line 7 def catalog_items_v0(...) API::CatalogItemsV0.new(...) end
data_kiosk_2023_11_15(...)
click to toggle source
# File lib/peddler/api/data_kiosk_2023_11_15.rb, line 7 def data_kiosk_2023_11_15(...) API::DataKiosk20231115.new(...) end
easy_ship_2022_03_23(...)
click to toggle source
# File lib/peddler/api/easy_ship_2022_03_23.rb, line 7 def easy_ship_2022_03_23(...) API::EasyShip20220323.new(...) end
fba_inbound_eligibility_v1(...)
click to toggle source
# File lib/peddler/api/fba_inbound_eligibility_v1.rb, line 7 def fba_inbound_eligibility_v1(...) API::FBAInboundEligibilityV1.new(...) end
fba_inventory_v1(...)
click to toggle source
# File lib/peddler/api/fba_inventory_v1.rb, line 7 def fba_inventory_v1(...) API::FBAInventoryV1.new(...) end
feeds_2021_06_30(...)
click to toggle source
# File lib/peddler/api/feeds_2021_06_30.rb, line 7 def feeds_2021_06_30(...) API::Feeds20210630.new(...) end
finances_2024_06_19(...)
click to toggle source
# File lib/peddler/api/finances_2024_06_19.rb, line 7 def finances_2024_06_19(...) API::Finances20240619.new(...) end
finances_v0(...)
click to toggle source
# File lib/peddler/api/finances_v0.rb, line 7 def finances_v0(...) API::FinancesV0.new(...) end
fulfillment_inbound_2024_03_20(...)
click to toggle source
# File lib/peddler/api/fulfillment_inbound_2024_03_20.rb, line 7 def fulfillment_inbound_2024_03_20(...) API::FulfillmentInbound20240320.new(...) end
fulfillment_inbound_v0(...)
click to toggle source
# File lib/peddler/api/fulfillment_inbound_v0.rb, line 7 def fulfillment_inbound_v0(...) API::FulfillmentInboundV0.new(...) end
fulfillment_outbound_2020_07_01(...)
click to toggle source
# File lib/peddler/api/fulfillment_outbound_2020_07_01.rb, line 7 def fulfillment_outbound_2020_07_01(...) API::FulfillmentOutbound20200701.new(...) end
invoices_2024_06_19(...)
click to toggle source
# File lib/peddler/api/invoices_2024_06_19.rb, line 7 def invoices_2024_06_19(...) API::Invoices20240619.new(...) end
listings_items_2020_09_01(...)
click to toggle source
# File lib/peddler/api/listings_items_2020_09_01.rb, line 7 def listings_items_2020_09_01(...) API::ListingsItems20200901.new(...) end
listings_items_2021_08_01(...)
click to toggle source
# File lib/peddler/api/listings_items_2021_08_01.rb, line 7 def listings_items_2021_08_01(...) API::ListingsItems20210801.new(...) end
listings_restrictions_2021_08_01(...)
click to toggle source
# File lib/peddler/api/listings_restrictions_2021_08_01.rb, line 7 def listings_restrictions_2021_08_01(...) API::ListingsRestrictions20210801.new(...) end
merchant_fulfillment_v0(...)
click to toggle source
# File lib/peddler/api/merchant_fulfillment_v0.rb, line 7 def merchant_fulfillment_v0(...) API::MerchantFulfillmentV0.new(...) end
messaging_v1(...)
click to toggle source
# File lib/peddler/api/messaging_v1.rb, line 7 def messaging_v1(...) API::MessagingV1.new(...) end
notifications_v1(...)
click to toggle source
# File lib/peddler/api/notifications_v1.rb, line 7 def notifications_v1(...) API::NotificationsV1.new(...) end
orders_v0(...)
click to toggle source
# File lib/peddler/api/orders_v0.rb, line 7 def orders_v0(...) API::OrdersV0.new(...) end
product_fees_v0(...)
click to toggle source
# File lib/peddler/api/product_fees_v0.rb, line 7 def product_fees_v0(...) API::ProductFeesV0.new(...) end
product_pricing_2022_05_01(...)
click to toggle source
# File lib/peddler/api/product_pricing_2022_05_01.rb, line 7 def product_pricing_2022_05_01(...) API::ProductPricing20220501.new(...) end
product_pricing_v0(...)
click to toggle source
# File lib/peddler/api/product_pricing_v0.rb, line 7 def product_pricing_v0(...) API::ProductPricingV0.new(...) end
product_type_definitions_2020_09_01(...)
click to toggle source
# File lib/peddler/api/product_type_definitions_2020_09_01.rb, line 7 def product_type_definitions_2020_09_01(...) API::ProductTypeDefinitions20200901.new(...) end
replenishment_2022_11_07(...)
click to toggle source
# File lib/peddler/api/replenishment_2022_11_07.rb, line 7 def replenishment_2022_11_07(...) API::Replenishment20221107.new(...) end
reports_2021_06_30(...)
click to toggle source
# File lib/peddler/api/reports_2021_06_30.rb, line 7 def reports_2021_06_30(...) API::Reports20210630.new(...) end
sales_v1(...)
click to toggle source
# File lib/peddler/api/sales_v1.rb, line 7 def sales_v1(...) API::SalesV1.new(...) end
sellers_v1(...)
click to toggle source
# File lib/peddler/api/sellers_v1.rb, line 7 def sellers_v1(...) API::SellersV1.new(...) end
services_v1(...)
click to toggle source
# File lib/peddler/api/services_v1.rb, line 7 def services_v1(...) API::ServicesV1.new(...) end
shipment_invoicing_v0(...)
click to toggle source
# File lib/peddler/api/shipment_invoicing_v0.rb, line 7 def shipment_invoicing_v0(...) API::ShipmentInvoicingV0.new(...) end
shipping_v1(...)
click to toggle source
# File lib/peddler/api/shipping_v1.rb, line 7 def shipping_v1(...) API::ShippingV1.new(...) end
shipping_v2(...)
click to toggle source
# File lib/peddler/api/shipping_v2.rb, line 7 def shipping_v2(...) API::ShippingV2.new(...) end
solicitations_v1(...)
click to toggle source
# File lib/peddler/api/solicitations_v1.rb, line 7 def solicitations_v1(...) API::SolicitationsV1.new(...) end
supply_sources_2020_07_01(...)
click to toggle source
# File lib/peddler/api/supply_sources_2020_07_01.rb, line 7 def supply_sources_2020_07_01(...) API::SupplySources20200701.new(...) end
tokens_2021_03_01(...)
click to toggle source
# File lib/peddler/api/tokens_2021_03_01.rb, line 7 def tokens_2021_03_01(...) API::Tokens20210301.new(...) end
uploads_2020_11_01(...)
click to toggle source
# File lib/peddler/api/uploads_2020_11_01.rb, line 7 def uploads_2020_11_01(...) API::Uploads20201101.new(...) end
vendor_direct_fulfillment_inventory_v1(...)
click to toggle source
# File lib/peddler/api/vendor_direct_fulfillment_inventory_v1.rb, line 7 def vendor_direct_fulfillment_inventory_v1(...) API::VendorDirectFulfillmentInventoryV1.new(...) end
vendor_direct_fulfillment_orders_2021_12_28(...)
click to toggle source
# File lib/peddler/api/vendor_direct_fulfillment_orders_2021_12_28.rb, line 7 def vendor_direct_fulfillment_orders_2021_12_28(...) API::VendorDirectFulfillmentOrders20211228.new(...) end
vendor_direct_fulfillment_orders_v1(...)
click to toggle source
# File lib/peddler/api/vendor_direct_fulfillment_orders_v1.rb, line 7 def vendor_direct_fulfillment_orders_v1(...) API::VendorDirectFulfillmentOrdersV1.new(...) end
vendor_direct_fulfillment_payments_v1(...)
click to toggle source
# File lib/peddler/api/vendor_direct_fulfillment_payments_v1.rb, line 7 def vendor_direct_fulfillment_payments_v1(...) API::VendorDirectFulfillmentPaymentsV1.new(...) end
vendor_direct_fulfillment_sandbox_test_data_2021_10_28(...)
click to toggle source
# File lib/peddler/api/vendor_direct_fulfillment_sandbox_test_data_2021_10_28.rb, line 7 def vendor_direct_fulfillment_sandbox_test_data_2021_10_28(...) API::VendorDirectFulfillmentSandboxTestData20211028.new(...) end
vendor_direct_fulfillment_shipping_2021_12_28(...)
click to toggle source
# File lib/peddler/api/vendor_direct_fulfillment_shipping_2021_12_28.rb, line 7 def vendor_direct_fulfillment_shipping_2021_12_28(...) API::VendorDirectFulfillmentShipping20211228.new(...) end
vendor_direct_fulfillment_shipping_v1(...)
click to toggle source
# File lib/peddler/api/vendor_direct_fulfillment_shipping_v1.rb, line 7 def vendor_direct_fulfillment_shipping_v1(...) API::VendorDirectFulfillmentShippingV1.new(...) end
vendor_direct_fulfillment_transactions_2021_12_28(...)
click to toggle source
# File lib/peddler/api/vendor_direct_fulfillment_transactions_2021_12_28.rb, line 7 def vendor_direct_fulfillment_transactions_2021_12_28(...) API::VendorDirectFulfillmentTransactions20211228.new(...) end
vendor_direct_fulfillment_transactions_v1(...)
click to toggle source
# File lib/peddler/api/vendor_direct_fulfillment_transactions_v1.rb, line 7 def vendor_direct_fulfillment_transactions_v1(...) API::VendorDirectFulfillmentTransactionsV1.new(...) end
vendor_invoices_v1(...)
click to toggle source
# File lib/peddler/api/vendor_invoices_v1.rb, line 7 def vendor_invoices_v1(...) API::VendorInvoicesV1.new(...) end
vendor_orders_v1(...)
click to toggle source
# File lib/peddler/api/vendor_orders_v1.rb, line 7 def vendor_orders_v1(...) API::VendorOrdersV1.new(...) end
vendor_shipments_v1(...)
click to toggle source
# File lib/peddler/api/vendor_shipments_v1.rb, line 7 def vendor_shipments_v1(...) API::VendorShipmentsV1.new(...) end
vendor_transaction_status_v1(...)
click to toggle source
# File lib/peddler/api/vendor_transaction_status_v1.rb, line 7 def vendor_transaction_status_v1(...) API::VendorTransactionStatusV1.new(...) end
Public Instance Methods
endpoint()
click to toggle source
@return [Peddler::Endpoint]
# File lib/peddler/marketplace.rb, line 45 def endpoint Endpoint.find_by_selling_region(selling_region) end
production()
click to toggle source
@return [URI]
# File lib/peddler/endpoint.rb, line 42 def production URI::HTTPS.build(host: host) end
sandbox()
click to toggle source
@return [URI]
# File lib/peddler/endpoint.rb, line 47 def sandbox URI::HTTPS.build(host: "sandbox.#{host}") end