Welcome to our new docs! Please keep in mind we are still working on making everything is as accurate as possible. Join us on discord and ask us questions if you are unsure.
DezerX Spartan Logo
Market

Get Product Details

Retrieve detailed information about a specific product by its ID

GET
/api/application/products/{id}
AuthorizationBearer <token>

Bearer token authentication

In: header

Path Parameters

idinteger

Product ID

Response Body

curl -X GET "https://api.example.com/api/application/products/0"
{
  "success": true,
  "data": {
    "id": 1,
    "name": "Premium Web Hosting",
    "description": "High-performance web hosting with 99.9% uptime guarantee",
    "stock": 10,
    "image": "/images/products/hosting.jpg",
    "category_id": 1,
    "module": "LicenseService",
    "module_config": {
      "product_file": "products/1_1754152748_5_1753695926_Module.zip",
      "is_downloadable_via_api": "1",
      "is_downloadable_via_web": "1"
    },
    "duration_config": {
      "weekly": {
        "price": 0,
        "enabled": false
      },
      "monthly": {
        "price": 29.99,
        "enabled": true
      },
      "quarterly": {
        "price": 0,
        "enabled": false
      },
      "yearly": {
        "price": 299.99,
        "enabled": true
      },
      "lifetime": {
        "price": 0,
        "enabled": false
      }
    },
    "status": "active",
    "position": 1,
    "create_service_before_payment": true,
    "created_at": "2025-08-02T16:39:06.000000Z",
    "updated_at": "2025-08-02T16:40:13.000000Z",
    "category": {
      "id": 1,
      "name": "Web Hosting"
    }
  }
}
{
  "success": false,
  "message": "Unauthenticated"
}
{
  "success": false,
  "message": "This action is unauthorized"
}
{
  "success": false,
  "message": "Resource not found"
}