Class: Peddler::APIs::VendorInvoicesV1
- Inherits:
-
Peddler::API
- Object
- Peddler::API
- Peddler::APIs::VendorInvoicesV1
- Defined in:
- lib/peddler/apis/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
#access_token, #endpoint, #parser
Instance Method Summary collapse
-
#submit_invoices(body, rate_limit: 10.0) ⇒ Peddler::Response
Submit new invoices to Amazon.
Methods inherited from Peddler::API
#endpoint_uri, #http, #initialize, #meter, #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) ⇒ Peddler::Response
Note:
This operation can make a static sandbox call.
Submit new invoices to Amazon.
23 24 25 26 27 |
# File 'lib/peddler/apis/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 |