šŸ„ BuySellService API Tester

Test your Livestock Marketplace API endpoints

šŸ‘¤ Users API

Base URL: http://localhost:3200/users
Note: Create users before creating listings or saved addresses.

Get All Users

Get Single User

Create User

šŸ’” Quick Create: You can create a user with a specific UUID (like the one in your error) by providing the "id" field.
Use: aaf295cb-a19e-4179-a2df-31c0c64ea9f4 (from your error)

Update User

šŸ“‹ Listings API

Base URL: http://localhost:3200/listings
Note: Species ID and Breed ID must be UUIDs (not integers). Use the dropdowns below or enter UUIDs manually.

Get Available Species

Get Available Breeds

Get All Listings

Get Single Listing

Search Listings

Near Me Search

Create Listing

āš ļø Important: The Seller ID must be a valid UUID that exists in the users table. If you get a foreign key error, the user doesn't exist. You need to create the user first or use an existing user UUID.
Example: aaf295cb-a19e-4179-a2df-31c0c64ea9f4
Or enter UUID manually below
Or enter UUID manually below

Update Listing

Delete Listing

šŸ“ Locations API

Base URL: http://localhost:3200/locations

Get User Locations

Get Single Location

Create Location

ā„¹ļø Note: User ID is optional for captured locations (is_saved_address = false), but required and must exist in users table for saved addresses (is_saved_address = true).
Required only if "Is Saved Address" is Yes

Update Location

šŸ’¬ Chat API

Base URL: http://localhost:3200/chat

Create/Get Conversation

Get User Conversations

Get Messages

Send Message