Update refunds items schema to match actual response keys.
This commit is contained in:
parent
390288e283
commit
4a39d8b8cc
|
@ -1619,7 +1619,7 @@ class WC_REST_Orders_Controller extends WC_REST_Legacy_Orders_Controller {
|
|||
'context' => array( 'view', 'edit' ),
|
||||
'readonly' => true,
|
||||
),
|
||||
'reason' => array(
|
||||
'refund' => array(
|
||||
'description' => __( 'Refund reason.', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
|
|
Loading…
Reference in New Issue