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

Bulk Operation

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

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params multipart/form-data

Responses

🟢202Accepted
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1:3000/api/curator/artisans/bulk' \
--header 'Authorization: Bearer <token>' \
--form 'ids[]="27d174cf-7fac-446c-886a-9c68b92c5e04"' \
--form 'ids[]="75dd3b72-9bf9-4e40-b9cb-965d4331b4fd"' \
--form 'ids[]="4ea2da54-36a4-43d7-88e3-d65eda404a27"' \
--form 'action="activate"'
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
        }
    ],
    "status": "string",
    "message": "string",
    "code": 0
}
Modified at 2025-05-19 16:57:49
Previous
Toggle Activation
Next
Delete Artisan
Built with