Class: Peddler::APIs::VendorDirectFulfillmentPaymentsV1
- Inherits:
-
Peddler::API
- Object
- Peddler::API
- Peddler::APIs::VendorDirectFulfillmentPaymentsV1
- Defined in:
- lib/peddler/apis/vendor_direct_fulfillment_payments_v1.rb
Overview
Selling Partner API for Direct Fulfillment Payments
The Selling Partner API for Direct Fulfillment Payments provides programmatic access to a direct fulfillment vendor's invoice data.
Instance Attribute Summary
Attributes inherited from Peddler::API
#access_token, #endpoint, #parser
Instance Method Summary collapse
-
#submit_invoice(body, rate_limit: 10.0) ⇒ Peddler::Response
Submits one or more invoices for a vendor's direct fulfillment orders.
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_invoice(body, rate_limit: 10.0) ⇒ Peddler::Response
Note:
This operation can make a static sandbox call.
Submits one or more invoices for a vendor's direct fulfillment orders.
24 25 26 27 28 |
# File 'lib/peddler/apis/vendor_direct_fulfillment_payments_v1.rb', line 24 def submit_invoice(body, rate_limit: 10.0) path = "/vendor/directFulfillment/payments/v1/invoices" meter(rate_limit).post(path, body:) end |