@@ -194,7 +194,7 @@ woocommerce.get("reports/sales", query).parsed_response
194
194
| ` total_items ` | integer | Total of items purchased. <i class =" label label-info " >read-only</i > |
195
195
| ` total_tax ` | string | Total charged for taxes. <i class =" label label-info " >read-only</i > |
196
196
| ` total_shipping ` | string | Total charged for shipping. <i class =" label label-info " >read-only</i > |
197
- | ` total_refunds ` | number | Total of refunded orders. <i class =" label label-info " >read-only</i > |
197
+ | ` total_refunds ` | number | Total of refunded orders. <i class =" label label-info " >read-only</i > |
198
198
| ` total_discount ` | integer | Total of coupons used. <i class =" label label-info " >read-only</i > |
199
199
| ` totals_grouped_by ` | string | Group type. <i class =" label label-info " >read-only</i > |
200
200
| ` totals ` | array | Totals. <i class =" label label-info " >read-only</i > |
@@ -204,7 +204,7 @@ woocommerce.get("reports/sales", query).parsed_response
204
204
| Parameter | Type | Description |
205
205
| ------------| --------| -------------------------------------------------------------------------------------------------------------------|
206
206
| ` context ` | string | Scope under which the request is made; determines fields present in response. Default is ` view ` . Options: ` view ` . |
207
- | ` period ` | string | Report period. Default is ` week ` . Options: ` week ` , ` month ` , ` last_month ` and ` year ` |
207
+ | ` period ` | string | Report period. Default is today's date . Options: ` week ` , ` month ` , ` last_month ` and ` year ` |
208
208
| ` date_min ` | string | Return sales for a specific start date, the date need to be in the YYYY-MM-DD format. |
209
209
| ` date_max ` | string | Return sales for a specific end date, the date need to be in the YYYY-MM-DD format. |
210
210
0 commit comments