Automattic\WooCommerce\Internal\RestApi\Routes\V4\Fulfillments
Controller::get_args_for_get_fulfillment
Get the arguments for the get fulfillment endpoint.
Method of the class: Controller{}
No Hooks.
Returns
Array.
Usage
// private - for code of main (parent) class only $result = $this->get_args_for_get_fulfillment(): array;
Controller::get_args_for_get_fulfillment() Controller::get args for get fulfillment code WC 10.4.3
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,
),
);
}