Refund schema

This commit is contained in:
Mike Jolley 2017-03-10 19:30:07 +00:00
parent e6752932dd
commit aac2e6a39c
1 changed files with 6 additions and 0 deletions

View File

@ -336,6 +336,12 @@ class WC_REST_Order_Refunds_Controller extends WC_REST_Orders_Controller {
'readonly' => true,
),
'date_created' => array(
'description' => __( "The date the order refund was created, in the site's timezone.", 'woocommerce' ),
'type' => 'date-time',
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'date_created_gmt' => array(
'description' => __( "The date the order refund was created, as GMT.", 'woocommerce' ),
'type' => 'date-time',
'context' => array( 'view', 'edit' ),