Class: Peddler::API::VendorDirectFulfillmentPaymentsV1
- Inherits:
-
Peddler::API
- Object
- Peddler::API
- Peddler::API::VendorDirectFulfillmentPaymentsV1
- Defined in:
- lib/peddler/api/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
Instance Method Summary collapse
-
#submit_invoice(body, rate_limit: 10.0) ⇒ Hash
Submits one or more invoices for a vendor’s direct fulfillment orders.
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_invoice(body, rate_limit: 10.0) ⇒ Hash
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/api/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 |