List all Sales
Permissions needed: any of (CREATE_CHECKUPS, VIEW_COUNTER_SALE) Returns list of Sales
Query parameters
Sale ID
Client/Owner Id
Status (comma separated statuses: <i>0 - No Sale; 1 - Pending, 2 - Paid, 3 - Partial, 4 - Overdraft</i>)
Include consolidated Sales - those with consolidated=1 (default <i>false</i>)
Additional relations to include. Ex.: invoice,file,clientSubscription,clientSubscription.plan,clientSubscription.pet,visit
Additional fields to append. Ex.: directChargesCredit,taxAmountsByRate,hasClientSubscription
Sale has or not a client subscription to a plan
Belongs to a Record that has attached a service or treatment (total > 0);Used to include/ignore Draft Records; Default value: <i>true</i>
Sale has or not outstanding balance
Dates between when sale was added in the platform
[ "2023-07-26T06:39:10.000000Z" ]
Dates between when sale was added in the platform
[ "2023-07-26T06:39:10.000000Z" ]
Dates between when sale was last updated in the platform
[ "2023-07-26T06:39:10.000000Z" ]
Parameters
Response
successful operation