WC_REST_Fulfillments_V4_Controller::get_args_for_get_fulfillments
Get the arguments for the get order fulfillments endpoint.
Method of the class: WC_REST_Fulfillments_V4_Controller{}
No Hooks.
Returns
Array.
Usage
// private - for code of main (parent) class only $result = $this->get_args_for_get_fulfillments(): array;
WC_REST_Fulfillments_V4_Controller::get_args_for_get_fulfillments() WC REST Fulfillments V4 Controller::get args for get fulfillments code WC 10.3.6
private function get_args_for_get_fulfillments(): array {
return array(
'order_id' => array(
'description' => __( 'Unique identifier for the order.', 'woocommerce' ),
'type' => 'integer',
'required' => true,
'context' => array( 'view', 'edit' ),
),
);
}