API Resources Documentation

Available API Resources

Users

Manage user accounts and profiles.

  • GET /users - Retrieve a list of all users.
  • GET /users/{id} - Retrieve a specific user by ID.
  • POST /users - Create a new user.
  • PUT /users/{id} - Update an existing user.
  • DELETE /users/{id} - Delete a user.

Products

Access and manage product information.

  • GET /products - Get a list of all products.
  • GET /products/{id} - Get details for a specific product.
  • POST /products - Add a new product.
  • PUT /products/{id} - Update product details.
  • DELETE /products/{id} - Remove a product.

Orders

Handle customer orders and order status.

  • GET /orders - List all orders.
  • GET /orders/{id} - Fetch a single order.
  • POST /orders - Place a new order.
  • PUT /orders/{id} - Update an order's status or details.

Categories

Organize products into different categories.

  • GET /categories - List all product categories.
  • GET /categories/{id} - Get a specific category.
  • POST /categories - Create a new category.
  • DELETE /categories/{id} - Delete a category.