class Peddler::API::VendorDirectFulfillmentTransactionsV1

Selling Partner API for Direct Fulfillment Transaction Status

The Selling Partner API for Direct Fulfillment Transaction Status provides programmatic access to a direct fulfillment vendor’s transaction status.

Public Instance Methods

get_transaction_status(transaction_id, rate_limit: 10.0) click to toggle source

Returns the status of the transaction indicated by the specified ‘transactionId`.

@note This operation can make a static sandbox call. @param transaction_id [String] Previously returned in the response to the POST request of a specific

transaction.

@param rate_limit [Float] Requests per second @return [Hash] The API response

# File lib/peddler/api/vendor_direct_fulfillment_transactions_v1.rb, line 25
def get_transaction_status(transaction_id, rate_limit: 10.0)
  path = "/vendor/directFulfillment/transactions/v1/transactions/#{transaction_id}"

  meter(rate_limit).get(path)
end