Class: Peddler::API::VendorInvoicesV1
- Inherits:
-
Peddler::API
- Object
- Peddler::API
- Peddler::API::VendorInvoicesV1
- Defined in:
- lib/peddler/api/vendor_invoices_v1.rb
Overview
Selling Partner API for Retail Procurement Payments
The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data.
Instance Attribute Summary
Attributes inherited from Peddler::API
Instance Method Summary collapse
-
#submit_invoices(body, rate_limit: 10.0) ⇒ Hash
Submit new invoices to Amazon.
Methods inherited from Peddler::API
#cannot_sandbox!, #endpoint_uri, #http, #initialize, #meter, #must_sandbox!, #retriable, #sandbox, #sandbox?, #use, #via
Constructor Details
This class inherits a constructor from Peddler::API
Instance Method Details
#submit_invoices(body, rate_limit: 10.0) ⇒ Hash
Note:
This operation can make a static sandbox call.
Submit new invoices to Amazon.
23 24 25 26 27 |
# File 'lib/peddler/api/vendor_invoices_v1.rb', line 23 def submit_invoices(body, rate_limit: 10.0) path = "/vendor/payments/v1/invoices" meter(rate_limit).post(path, body:) end |