curl -X GET "https://www.okasie.be/api/external/v1/locations/7f7f7f7f-7f7f-407f-a7f7-7f7f7f7f7f7f/listings?status=active&includeChildren=true" \ -H "Authorization: Bearer YOUR_API_SECRET"
{ "data": [ { "id": "46c7f6c9-70f7-4f98-8c32-12f1a67c6f2e", "title": "Opel Corsa 1.2 Turbo", "status": "active", "price": 19995, "brand": "Opel", "model": "Corsa", "dealer": { "id": "7f7f7f7f-7f7f-407f-a7f7-7f7f7f7f7f7f", "locationCode": "DEX-GENT", "displayName": "DEX Gent" } } ], "pagination": { "page": 1, "pageSize": 50, "totalItems": 45, "totalPages": 1 }, "meta": { "partner": { "id": "partner-id" } } }
Retrieve listings for a specific dealer location
active
pending
sold
draft
all
UNAUTHORIZED
NOT_FOUND