Skip to main content
A package bundles a number of bookings that a client buys upfront. See the API reference for the full resource shape.

List packages

neetocal packages list
neetocal packages list --page 1 --page-size 20
FlagTypeRequiredDefaultDescription
--pageint0Page number
--page-sizeint0Items per page (max 100)
Sample output (--json)
{
  "data": [
    {
      "id": "aff17ff8-1bf8-4e77-a3c5-2f86104f9a20",
      "name": "Consultation Package",
      "slug": "consultation-package",
      "status": "enabled",
      "duration": 7200,
      "fee": {
        "id": "1b217cc5-69b5-4fb1-a13c-c22f9c14e7f9",
        "amount": "120.0",
        "currency": "usd",
        "kind": "fixed",
        "payment_provider": "stripe"
      }
    }
  ],
  "pagination": { "total_records": 1, "total_pages": 1, "current_page_number": 1, "page_size": 30 }
}
Mirrors List packages in the API.

Show a package

neetocal packages show <id>
Sample output (--json)
{
  "data": {
    "package": {
      "id": "aff17ff8-1bf8-4e77-a3c5-2f86104f9a20",
      "name": "Consultation Package",
      "slug": "consultation-package",
      "status": "enabled",
      "duration": 7200,
      "fee": {
        "id": "1b217cc5-69b5-4fb1-a13c-c22f9c14e7f9",
        "amount": "120.0",
        "currency": "usd",
        "kind": "fixed",
        "payment_provider": "stripe",
        "amount_in_smallest_currency_unit": 12000
      }
    }
  }
}
Returns the package details. Mirrors Get package in the API.

List purchases for a package

neetocal packages purchases list <package-id>
FlagTypeRequiredDefaultDescription
--pageint0Page number
--page-sizeint0Items per page (max 100)
Sample output (--json)
{
  "data": [
    {
      "id": "1b217cc5-69b5-4fb1-a13c-c22f9c14e7f9",
      "name": "Oliver Smith",
      "email": "oliver@example.com",
      "purchase_code": "PUR-123456",
      "duration_remaining": 3600,
      "status": "confirmed",
      "notes": null,
      "package_id": "aff17ff8-1bf8-4e77-a3c5-2f86104f9a20",
      "duration": 7200,
      "created_at": "2026-05-01T10:00:00Z",
      "updated_at": "2026-05-01T10:30:00Z"
    }
  ],
  "pagination": { "total_records": 1, "total_pages": 1, "current_page_number": 1, "page_size": 30 }
}
Mirrors List package purchases in the API.

Show a package purchase

neetocal packages purchases show <package-id> <purchase-id>
Sample output (--json)
{
  "data": {
    "purchase": {
      "id": "1b217cc5-69b5-4fb1-a13c-c22f9c14e7f9",
      "name": "Oliver Smith",
      "email": "oliver@example.com",
      "purchase_code": "PUR-123456",
      "duration_remaining": 3600,
      "status": "confirmed",
      "notes": null,
      "package_id": "aff17ff8-1bf8-4e77-a3c5-2f86104f9a20",
      "duration": 7200,
      "created_at": "2026-05-01T10:00:00Z",
      "updated_at": "2026-05-01T10:30:00Z",
      "payment": {
        "amount": "120.0",
        "currency": "usd",
        "status": "successful",
        "payment_provider": "stripe",
        "payment_at": "2026-05-01T10:30:00Z"
      }
    }
  }
}
Returns a single purchase for the package. Mirrors Get package purchase in the API.