API Listing Endpoints
This document provides details about the endpoints used in the Funbooker Listing API.
GET - Retrieve a list of listings
Endpoint:
GET /api/partner/v1/listings
Description: This endpoint retrieves a list of listings with optional parameters.
Query Parameters:
page
(int, optional): The page number for pagination. Default is 1.perPage
(int, optional): The number of listings per page. Default is 25.search
(string, optional): Free text search within listing titles.occasion
(string, optional): Filter by occasion, on ofentertainment
,gift
,birthday
,business
,bachelor-party
,internship
Response Example:
GET - Retrieve details of a specific listing
Endpoint:
GET /api/partner/v1/listing/{slug}
Description: This endpoint retrieves details of a specific listing by its slug.
Path Parameters:
slug
(string): The slug of the listing.
Response Example:
Last updated