Fixed schema to include instance_id for shipping_lines
This commit is contained in:
parent
ca36e368c5
commit
a0145c0265
|
@ -1397,6 +1397,11 @@ class WC_REST_Orders_V2_Controller extends WC_REST_Legacy_Orders_Controller {
|
||||||
'type' => 'mixed',
|
'type' => 'mixed',
|
||||||
'context' => array( 'view', 'edit' ),
|
'context' => array( 'view', 'edit' ),
|
||||||
),
|
),
|
||||||
|
'instance_id' => array(
|
||||||
|
'description' => __( 'Shipping instance ID.', 'woocommerce' ),
|
||||||
|
'type' => 'string',
|
||||||
|
'context' => array( 'view', 'edit' ),
|
||||||
|
),
|
||||||
'total' => array(
|
'total' => array(
|
||||||
'description' => __( 'Line total (after discounts).', 'woocommerce' ),
|
'description' => __( 'Line total (after discounts).', 'woocommerce' ),
|
||||||
'type' => 'string',
|
'type' => 'string',
|
||||||
|
|
Loading…
Reference in New Issue