Artisyn API
  1. Artisans
Artisyn API
  • INTRODUCTION
  • Auth
    • OAUTH
      • Google
      • Google Callback
    • Login
      POST
    • Register
      POST
    • Verify Account
      PUT
    • Logout
      DELETE
    • Forgot Password
      POST
    • Reset Password
      PUT
  • Admin
    • Categories
      • List Categories
      • Create Category
      • Get Category
      • Update Category
      • Delete Category
  • Categories
    • List Categories
      GET
    • Get Category
      GET
  • Curator
    • Artisans
      • List Artisans
        GET
      • Create Artisan
        POST
      • Show Artisan
        GET
      • Update Artisan
        PUT
      • Toggle Activation
        PUT
      • Bulk Operation
        POST
      • Delete Artisan
        DELETE
  • Index
    POST
  1. Artisans

List Artisans

Developing
GET
http://127.0.0.1:3000/api/curator/artisans
Maintainer:Not configured

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Responses

🟢200OK
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:3000/api/curator/artisans?search=John Doe&orderBy=id&orderDir=asc&filter=lagos&filterBy=location&filters=%5B%7B%22country%22:%22Nigeria%22%7D%5D' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "data": [
        {
            "id": "string",
            "name": "string",
            "email": "string",
            "phone": "string",
            "avatar": null,
            "type": "string",
            "description": "string",
            "price": 0,
            "priceRange": [
                0
            ],
            "images": [
                "string"
            ],
            "curatorId": "string",
            "categoryId": "string",
            "subcategoryId": null,
            "locationId": "string",
            "isActive": true,
            "isVerified": true,
            "createdAt": "string",
            "updatedAt": "string",
            "archivedAt": null
        }
    ],
    "meta": {
        "pagination": {
            "perPage": 0,
            "total": 0,
            "from": 0,
            "to": 0
        }
    },
    "status": "string",
    "message": "string",
    "code": 0
}
Modified at 2025-05-19 15:47:43
Previous
Get Category
Next
Create Artisan
Built with