class Peddler::API::VendorTransactionStatusV1

Selling Partner API for Retail Procurement Transaction Status

The Selling Partner API for Retail Procurement Transaction Status provides programmatic access to status information on specific asynchronous POST transactions for vendors.

Public Instance Methods

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

Returns the status of the transaction that you specify.

@param transaction_id [String] The GUID provided by Amazon in the ‘transactionId’ field in 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_transaction_status_v1.rb, line 24
def get_transaction(transaction_id, rate_limit: 10.0)
  cannot_sandbox!

  path = "/vendor/transactions/v1/transactions/#{transaction_id}"

  meter(rate_limit).get(path)
end