[REST API] Fixed schema for refunded_payment in order refunds endpoint

This commit is contained in:
Claudio Sanches 2018-10-16 19:20:53 -03:00
parent 8e47d2afd5
commit 98c8bb3eda
1 changed files with 1 additions and 0 deletions

View File

@ -388,6 +388,7 @@ class WC_REST_Order_Refunds_V2_Controller extends WC_REST_Orders_V2_Controller {
'description' => __( 'If the payment was refunded via the API.', 'woocommerce' ),
'type' => 'boolean',
'context' => array( 'view' ),
'readonly' => true,
),
'meta_data' => array(
'description' => __( 'Meta data.', 'woocommerce' ),