Automattic\WooCommerce\Internal\Fulfillments
OrderFulfillmentsRestController::get_args_for_get_fulfillments
Get the arguments for the get order fulfillments endpoint.
Method of the class: OrderFulfillmentsRestController{}
No Hooks.
Returns
Array.
Usage
// private - for code of main (parent) class only $result = $this->get_args_for_get_fulfillments(): array;
OrderFulfillmentsRestController::get_args_for_get_fulfillments() OrderFulfillmentsRestController::get args for get fulfillments code WC 10.3.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' ),
),
);
}