public function get_customer_orders( $id, $fields = null ) {
        global $wpdb;

        $id = $this->validate_request( $id, 'customer', 'read' );