WC_REST_Orders_V1_Controller::prepare_line_items()
Method: Create or update a line item.
Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:661
Method: Create or update a line item.
Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:661
Method: Create or update an order shipping method.
Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:690
Method: Create or update an order fee.
Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:713
Method: Create or update an order coupon.
Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:736
Method: Wrapper method to create/update order items.
Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:760
Action Hook: Action hook to adjust item before save.
Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:790
Method: Helper method to check if the resource ID associated with the provided item is null.
Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:807
Method: Prepare a single order for create.
Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:452
Method: Create base WC Order object.
Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:511
Method: Only return writable props from schema.
Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:520