WC_REST_Fulfillments_V4_Controller::get_args_for_get_fulfillment
Get the arguments for the get fulfillment 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_fulfillment(): array;
WC_REST_Fulfillments_V4_Controller::get_args_for_get_fulfillment() WC REST Fulfillments V4 Controller::get args for get fulfillment code WC 10.3.6
private function get_args_for_get_fulfillment(): array {
return array(
'fulfillment_id' => array(
'description' => __( 'Unique identifier for the fulfillment.', 'woocommerce' ),
'type' => 'integer',
'context' => array( 'view', 'edit' ),
'required' => true,
),
);
}