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

Show Artisan

Developing
GET
http://127.0.0.1:3000/api/curator/artisans/{artisan_id}
Maintainer:Not configured
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:3000/api/curator/artisans/1'
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"
    },
    "status": "string",
    "message": "string",
    "code": 0
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
artisan_id
string 
required
Example:
1

Responses

🟢200OK
application/json
Body
data
object 
required
id
string 
required
name
string 
required
email
string 
required
phone
string 
required
avatar
null 
required
type
string 
required
description
string 
required
price
number 
required
priceRange
array[number]
required
images
array[string]
required
curatorId
string 
required
categoryId
string 
required
subcategoryId
null 
required
locationId
string 
required
isActive
boolean 
required
isVerified
boolean 
required
createdAt
string 
required
updatedAt
string 
required
status
string 
required
message
string 
required
code
integer 
required
Previous
Create Artisan
Next
Update Artisan
Built with