Automattic\WooCommerce\Internal\RestApi\Routes\V4\Fulfillments
Controller::get_args_for_get_fulfillments
Get the arguments for the get order fulfillments 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_fulfillments(): array;
Controller::get_args_for_get_fulfillments() Controller::get args for get fulfillments code WC 10.4.3
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' ),
),
);
}