Home
API Catalog
About
Back to System
Craftable API
1.0.0
OAS 3.0
Servers
https://api.craftable.com/v1
Authorize
Cart
GET
/cart
Get the current user's cart
PUT
/cart
Update the current user's cart
Shops
GET
/shops
List all shops
POST
/shops
Create a new shop
GET
/shops
/{shopId}
Get shop by ID
PUT
/shops
/{shopId}
Update a shop
DELETE
/shops
/{shopId}
Delete a shop
Users
GET
/users
List all users
POST
/users
Create a new user
GET
/users
/{userId}
Get user by ID
PUT
/users
/{userId}
Update a user
DELETE
/users
/{userId}
Delete a user
Orders
GET
/orders
List all orders for a user
POST
/orders
Create a new order
GET
/orders
/{orderId}
Get order by ID
PUT
/orders
/{orderId}
Update an order
Products
GET
/products
List all products
POST
/products
Create a new product
GET
/products
/{productId}
Get product by ID
PUT
/products
/{productId}
Update a product
DELETE
/products
/{productId}
Delete a product
Categories
GET
/categories
List all categories
POST
/categories
Create a new category
GET
/categories
/{categoryId}
Get category by ID
PUT
/categories
/{categoryId}
Update a category
DELETE
/categories
/{categoryId}
Delete a category
Admin
GET
/admin
/roles
List all roles
POST
/admin
/roles
Create a new role
GET
/admin
/permissions
List all permissions
GET
/admin
/roles
/{roleId}
Get role by ID
PUT
/admin
/roles
/{roleId}
Update a role
DELETE
/admin
/roles
/{roleId}
Delete a role
GET
/admin
/roles
/{roleId}
/permissions
List permissions for a role
POST
/admin
/roles
/{roleId}
/permissions
Assign permission to a role
Payments
GET
/orders
/{orderId}
/payments
List payments for an order
POST
/orders
/{orderId}
/payments
Create a payment for an order
Shipments
GET
/orders
/{orderId}
/shipments
Get shipment for an order
PUT
/orders
/{orderId}
/shipments
Update shipment for an order
Reviews
GET
/products
/{productId}
/reviews
List reviews for a product
POST
/products
/{productId}
/reviews
Create a review for a product
Schemas
Cart
Role
Shop
User
Error
Order
Review
NewRole
NewShop
NewUser
Payment
Product
Category
NewOrder
Shipment
NewReview
NewPayment
NewProduct
Permission
UpdateCart
UpdateRole
UpdateShop
UpdateUser
NewCategory
UpdateOrder
UpdateProduct
UpdateCategory
UpdateShipment