WC_REST_Fulfillments_V4_Controller::get_schema_for_create_fulfillment
Get the schema for the create 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_schema_for_create_fulfillment(): array;
WC_REST_Fulfillments_V4_Controller::get_schema_for_create_fulfillment() WC REST Fulfillments V4 Controller::get schema for create fulfillment code WC 10.3.6
private function get_schema_for_create_fulfillment(): array {
$schema = $this->get_base_schema();
$schema['title'] = __( 'Create fulfillment response.', 'woocommerce' );
$schema['properties'] = $this->get_read_schema_for_fulfillment();
return $schema;
}