<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.1.u1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>198</ContextCount>
  <ElementCount>266</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>50</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/ConsolidatedStatementsofIncome</Role>
      <ShortName>Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - Consolidated Statements of Changes in Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/ConsolidatedStatementsofChangesinShareholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Disclosure - Restatement of Previously Issued Financial Statements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestatementofPreviouslyIssuedFinancialStatements</Role>
      <ShortName>Restatement of Previously Issued Financial Statements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - Property and Equipment, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/PropertyandEquipmentNet</Role>
      <ShortName>Property and Equipment, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - Accrued Expenses and Other Current Liabilities (As Restated)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/AccruedExpensesandOtherCurrentLiabilitiesAsRestated</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities (As Restated)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - Income Taxes (As Restated)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/IncomeTaxesAsRestated</Role>
      <ShortName>Income Taxes (As Restated)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/ShareholdersEquity</Role>
      <ShortName>Shareholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - Restricted Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestrictedStock</Role>
      <ShortName>Restricted Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - Net Income Per Share (As Restated)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/NetIncomePerShareAsRestated</Role>
      <ShortName>Net Income Per Share (As Restated)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - Employee Benefit Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/EmployeeBenefitPlan</Role>
      <ShortName>Employee Benefit Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Minority Interest Investment in Vetster</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/MinorityInterestInvestmentinVetster</Role>
      <ShortName>Minority Interest Investment in Vetster</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - Related Party Transaction</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RelatedPartyTransaction</Role>
      <ShortName>Related Party Transaction</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/SummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - Restatement of Previously Issued Financial Statements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestatementofPreviouslyIssuedFinancialStatementsTables</Role>
      <ShortName>Restatement of Previously Issued Financial Statements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/RestatementofPreviouslyIssuedFinancialStatements</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/SummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - Property and Equipment, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/PropertyandEquipmentNetTables</Role>
      <ShortName>Property and Equipment, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/PropertyandEquipmentNet</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - Disclosure - Accrued Expenses and Other Current Liabilities (As Restated) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/AccruedExpensesandOtherCurrentLiabilitiesAsRestatedTables</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities (As Restated) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/AccruedExpensesandOtherCurrentLiabilitiesAsRestated</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0000027 - Disclosure - Income Taxes (As Restated) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/IncomeTaxesAsRestatedTables</Role>
      <ShortName>Income Taxes (As Restated) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/IncomeTaxesAsRestated</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0000028 - Disclosure - Shareholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/ShareholdersEquityTables</Role>
      <ShortName>Shareholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/ShareholdersEquity</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0000029 - Disclosure - Restricted Stock (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestrictedStockTables</Role>
      <ShortName>Restricted Stock (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/RestrictedStock</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>0000030 - Disclosure - Net Income Per Share (As Restated) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/NetIncomePerShareAsRestatedTables</Role>
      <ShortName>Net Income Per Share (As Restated) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/NetIncomePerShareAsRestated</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>0000031 - Disclosure - Restatement of Previously Issued Financial Statements - Impact of Adjustments on Previously Issued Financial Statements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestatementofPreviouslyIssuedFinancialStatementsImpactofAdjustmentsonPreviouslyIssuedFinancialStatementsDetails</Role>
      <ShortName>Restatement of Previously Issued Financial Statements - Impact of Adjustments on Previously Issued Financial Statements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>0000032 - Disclosure - Restatement of Previously Issued Financial Statements - Basic and Diluted Net Income Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestatementofPreviouslyIssuedFinancialStatementsBasicandDilutedNetIncomePerShareDetails</Role>
      <ShortName>Restatement of Previously Issued Financial Statements - Basic and Diluted Net Income Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>0000033 - Disclosure - Restatement of Previously Issued Financial Statements - Consolidated Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestatementofPreviouslyIssuedFinancialStatementsConsolidatedBalanceSheetsDetails</Role>
      <ShortName>Restatement of Previously Issued Financial Statements - Consolidated Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>0000034 - Disclosure - Restatement of Previously Issued Financial Statements - Consolidated Balance Sheets Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestatementofPreviouslyIssuedFinancialStatementsConsolidatedBalanceSheetsAdditionalInformationDetails</Role>
      <ShortName>Restatement of Previously Issued Financial Statements - Consolidated Balance Sheets Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>0000035 - Disclosure - Restatement of Previously Issued Financial Statements - Consolidated Statements of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestatementofPreviouslyIssuedFinancialStatementsConsolidatedStatementsofOperationsDetails</Role>
      <ShortName>Restatement of Previously Issued Financial Statements - Consolidated Statements of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>0000036 - Disclosure - Restatement of Previously Issued Financial Statements - Consolidated Cash Flow Statements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestatementofPreviouslyIssuedFinancialStatementsConsolidatedCashFlowStatementsDetails</Role>
      <ShortName>Restatement of Previously Issued Financial Statements - Consolidated Cash Flow Statements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>0000037 - Disclosure - Restatement of Previously Issued Financial Statements - Quarterly Financial Statements Condensed Consolidated Statements of Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestatementofPreviouslyIssuedFinancialStatementsQuarterlyFinancialStatementsCondensedConsolidatedStatementsofIncomeDetails</Role>
      <ShortName>Restatement of Previously Issued Financial Statements - Quarterly Financial Statements Condensed Consolidated Statements of Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>0000038 - Disclosure - Restatement of Previously Issued Financial Statements - Quarterly Financial Statements Condensed Consolidated Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestatementofPreviouslyIssuedFinancialStatementsQuarterlyFinancialStatementsCondensedConsolidatedBalanceSheetsDetails</Role>
      <ShortName>Restatement of Previously Issued Financial Statements - Quarterly Financial Statements Condensed Consolidated Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>0000039 - Disclosure - Restatement of Previously Issued Financial Statements - Quarterly Financial Statements Condensed Consolidated Statements of Cash Flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestatementofPreviouslyIssuedFinancialStatementsQuarterlyFinancialStatementsCondensedConsolidatedStatementsofCashFlowsDetails</Role>
      <ShortName>Restatement of Previously Issued Financial Statements - Quarterly Financial Statements Condensed Consolidated Statements of Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>0000040 - Disclosure - Restatement of Previously Issued Financial Statements - Consolidated Statements of Stockholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestatementofPreviouslyIssuedFinancialStatementsConsolidatedStatementsofStockholdersEquityDetails</Role>
      <ShortName>Restatement of Previously Issued Financial Statements - Consolidated Statements of Stockholders' Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>0000041 - Disclosure - Summary of Significant Accounting Policies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/SummaryofSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>0000042 - Disclosure - Summary of Significant Accounting Policies - Disaggregation of Revenue by Type (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/SummaryofSignificantAccountingPoliciesDisaggregationofRevenuebyTypeDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Disaggregation of Revenue by Type (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>0000043 - Disclosure - Property and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/PropertyandEquipmentNetDetails</Role>
      <ShortName>Property and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/PropertyandEquipmentNetTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>0000044 - Disclosure - Accrued Expenses and Other Current Liabilities (As Restated) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/AccruedExpensesandOtherCurrentLiabilitiesAsRestatedDetails</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities (As Restated) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/AccruedExpensesandOtherCurrentLiabilitiesAsRestatedTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>0000045 - Disclosure - Income Taxes (As Restated) - Deferred Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/IncomeTaxesAsRestatedDeferredIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (As Restated) - Deferred Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/IncomeTaxesAsRestatedTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>0000046 - Disclosure - Income Taxes - Narrative (As Restated) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/IncomeTaxesNarrativeAsRestatedDetails</Role>
      <ShortName>Income Taxes - Narrative (As Restated) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>0000047 - Disclosure - Income Taxes - Components of Income Tax Provision (As Restated) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/IncomeTaxesComponentsofIncomeTaxProvisionAsRestatedDetails</Role>
      <ShortName>Income Taxes - Components of Income Tax Provision (As Restated) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>0000048 - Disclosure - Income Taxes - Reconciliation of Income Tax Provision (As Restated) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/IncomeTaxesReconciliationofIncomeTaxProvisionAsRestatedDetails</Role>
      <ShortName>Income Taxes - Reconciliation of Income Tax Provision (As Restated) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>0000049 - Disclosure - Income Taxes - Reconciliation of Total Effective Tax Rate (As Restated) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/IncomeTaxesReconciliationofTotalEffectiveTaxRateAsRestatedDetails</Role>
      <ShortName>Income Taxes - Reconciliation of Total Effective Tax Rate (As Restated) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>0000050 - Disclosure - Shareholders' Equity - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/ShareholdersEquityNarrativeDetails</Role>
      <ShortName>Shareholders' Equity - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>0000051 - Disclosure - Shareholder's Equity - Declared Dividends (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/ShareholdersEquityDeclaredDividendsDetails</Role>
      <ShortName>Shareholder's Equity - Declared Dividends (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>0000052 - Disclosure - Restricted Stock - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestrictedStockNarrativeDetails</Role>
      <ShortName>Restricted Stock - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>0000053 - Disclosure - Restricted Stock - Non-vested Restricted Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RestrictedStockNonvestedRestrictedStockDetails</Role>
      <ShortName>Restricted Stock - Non-vested Restricted Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>0000054 - Disclosure - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/FairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/FairValueMeasurements</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>0000055 - Disclosure - Net Income Per Share (As Restated) - Basic and Diluted Net Income Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/NetIncomePerShareAsRestatedBasicandDilutedNetIncomePerShareDetails</Role>
      <ShortName>Net Income Per Share (As Restated) - Basic and Diluted Net Income Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/NetIncomePerShareAsRestatedTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>0000056 - Disclosure - Net Income Per Share (As Restated) - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/NetIncomePerShareAsRestatedNarrativeDetails</Role>
      <ShortName>Net Income Per Share (As Restated) - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/NetIncomePerShareAsRestatedTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>0000057 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/CommitmentsandContingencies</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>0000058 - Disclosure - Employee Benefit Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/EmployeeBenefitPlanDetails</Role>
      <ShortName>Employee Benefit Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/EmployeeBenefitPlan</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>0000059 - Disclosure - Minority Interest Investment in Vetster (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/MinorityInterestInvestmentinVetsterDetails</Role>
      <ShortName>Minority Interest Investment in Vetster (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/MinorityInterestInvestmentinVetster</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>0000060 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/SubsequentEvents</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="pets-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>0000061 - Disclosure - Related Party Transaction (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.1800petmeds.com/role/RelatedPartyTransactionDetails</Role>
      <ShortName>Related Party Transaction (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.1800petmeds.com/role/RelatedPartyTransaction</ParentRole>
      <Position>61</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty in us-gaap/2022 used in 1 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. pets-20230331.htm 4</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept DueToRelatedPartiesCurrent in us-gaap/2022 used in 1 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. pets-20230331.htm 4</Log>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 2 fact(s) appearing in ix:hidden were eligible for transformation: pets:RestrictionPeriod, us-gaap:PropertyPlantAndEquipmentUsefulLife -  pets-20230331.htm 4</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-K/A" isDefinitelyFs="true" isUsgaap="true" original="pets-20230331.htm">pets-20230331.htm</File>
    <File>pets-20230331.xsd</File>
    <File>pets-20230331_cal.xml</File>
    <File>pets-20230331_def.xml</File>
    <File>pets-20230331_lab.xml</File>
    <File>pets-20230331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>pets-20230331_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1357">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="38">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
