class Peddler::API::VendorInvoicesV1

Selling Partner API for Retail Procurement Payments

The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data.

Public Instance Methods

submit_invoices(body, rate_limit: 10.0) click to toggle source

Submit new invoices to Amazon.

@note This operation can make a static sandbox call. @param body [Hash] The request body containing the invoice data to submit. @param rate_limit [Float] Requests per second @return [Hash] The API response

# 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