party (type vendor) on purchases, purchase orders, and purchase returns, and — like customers — each vendor has a ledger of what you owe and have paid.
The vendor API mirrors the customer API exactly, including the ID model: every call uses your vendor_id, new IDs create vendors automatically (also inline during document creation), existing IDs reuse and update the record, and Update vendor mapping re-links your IDs in bulk after a migration.
Add a vendor
Endpoints
Add a vendor
Create a vendor with your own ID.
Get vendor details
Fetch one vendor by your
vendor_id.Update a vendor
Change a vendor’s details.
Delete a vendor
Remove a vendor record.
Get payment ledger
Transaction history and balance for one vendor.
Get list of vendors
Page through all vendors.
Update vendor mapping
Re-link your IDs to Swipe records in bulk.

