/vendor-credits/{id}
Returns a VendorCredit object with the given id.
Authentication
AuthorizationBearer
Token-based authentication with required prefix “Bearer”
Path parameters
id
Headers
X-Account-Token
Token identifying the end user.
Query parameters
expand
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
include_remote_data
Whether to include the original data Merge fetched from the third-party to produce these models.
include_shell_data
Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
Response
id
remote_id
The third-party API ID of the matching object.
created_at
The datetime that this object was created by Merge.
modified_at
The datetime that this object was modified by Merge.
number
The vendor credit's number.
transaction_date
The vendor credit's transaction date.
vendor
The vendor that owes the gift or refund.
total_amount
The vendor credit's total amount.
currency
The vendor credit's currency. The currency code in ISO 4217 format.
exchange_rate
The vendor credit's exchange rate.
inclusive_of_tax
If the transaction is inclusive or exclusive of tax. True if inclusive, False if exclusive.
company
The company the vendor credit belongs to.
lines
tracking_categories
applied_to_lines
A list of VendorCredit Applied to Lines objects.
remote_was_deleted
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.
accounting_period
The accounting period that the VendorCredit was generated in.
field_mappings
remote_data